Skip to content

Commit

Permalink
Fix for build and docker release
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Towles <[email protected]>
  • Loading branch information
wonderslug committed Jul 30, 2021
1 parent 7d64ce5 commit dc3c91b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/publish_image_github_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Create/update text file
run: |
echo "\"\"\"Version info.\"\"\"" > cdpctl/__version__.py
echo "__version__ = \"${{ env.RELEASE_VERSION }}\"" >> cdpctl/__version__.py
# - name: Create/update text file
# run: |
# echo "\"\"\"Version info.\"\"\"" > cdpctl/__version__.py
# echo "__version__ = \"${{ env.RELEASE_VERSION }}\"" >> cdpctl/__version__.py

- name: Commit and Push
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
# use account 'github-actions[bot]' to set the git config
git add -A
git commit -m "automated update of version for release"
git push
# - name: Commit and Push
# run: |
# git config --global user.name "github-actions[bot]"
# git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
# # use account 'github-actions[bot]' to set the git config
# git add -A
# git commit -m "automated update of version for release"
# git push

- name: Push to GitHub Packages
uses: docker/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion cdpctl/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Version info."""
__version__ = "2021.07.29.01"
__version__ = "2021.07.30.01"

0 comments on commit dc3c91b

Please sign in to comment.