Skip to content

Commit

Permalink
Semantic versioning (#139)
Browse files Browse the repository at this point in the history
* ci: fixing semantic versioning

* ci: fixing semantic versioning

* ci: fixing semantic versioning

* fixing the mess

* fix:  the mess

* ci: fixing semantic versioning

* fix:  the mess

* ci: fixing semantic versioning

* fix: forcing release
  • Loading branch information
vijayvammi authored Apr 18, 2024
1 parent a6de593 commit 6095aff
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ jobs:
continue-on-error: true
id: last_tag
run: |
CURRENT=${poetry run semantic-release --noop version --print-last-released}
CURRENT=$(python -m poetry run semantic-release --noop version --print-last-released)
echo "Current: $CURRENT"
python -m poetry run semantic-release -vv version --tag --push
VERSION=${poetry run semantic-release --noop version --print-last-released}
VERSION=$(python -m poetry run semantic-release --noop version --print)
echo "new: $VERSION"
python -m poetry run semantic-release -vv version --tag --push
if [ "$CURRENT" == "$VERSION" ]; then
echo "version=$VERSION" >> $GITHUB_OUTPUT
exit 1
Expand Down

0 comments on commit 6095aff

Please sign in to comment.