Skip to content

Commit

Permalink
Merge pull request #21 from lpm0073/next
Browse files Browse the repository at this point in the history
fix: ensure that __version__.py construction matches that of dev
  • Loading branch information
lpm0073 authored Nov 28, 2023
2 parents 7518621 + af9aa7f commit 9270a46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/semanticVersionBump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ jobs:
if: env.VERSION_CHANGED == 'true'
id: update_version
run: |
echo "__version__ = '${{ env.NEXT_VERSION }}'" > ${{ env.VERSION_FILE }}
echo "# -*- coding: utf-8 -*-" > ${{ env.VERSION_FILE }}
echo "__version__ = '${{ env.NEXT_VERSION }}'" >> ${{ env.VERSION_FILE }}
echo "" >> ${{ env.VERSION_FILE }}
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add ${{ env.VERSION_FILE }}
Expand Down

0 comments on commit 9270a46

Please sign in to comment.