Skip to content

Commit

Permalink
Merge pull request #90 from ali-zahedi/fix/githubaction
Browse files Browse the repository at this point in the history
fix!: new github action tag
  • Loading branch information
ali-zahedi authored Mar 27, 2024
2 parents 79f86f3 + c3b208f commit 71c0005
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/semantic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ jobs:
# Extract the version from the new git tag
NEW_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "NEW_TAG=$NEW_TAG" >> $GITHUB_ENV
echo $NEW_TAG
- name: Update package version
run: sed -i "s/__version__ = \"1.0.0\"/__version__ = \"${{ NEW_TAG }}\"/g" azbankgateways/__init__.py
run: sed -i "s/__version__ = \"1.0.0\"/__version__ = \"$NEW_TAG\"/g" azbankgateways/__init__.py
- name: Build package
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 71c0005

Please sign in to comment.