Skip to content

Commit

Permalink
Fix release versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesbertaglia authored Feb 1, 2021
1 parent b6ce067 commit 14f76dd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ jobs:
id: check-parent-commit
run: |
echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)"
- name: Bump version for developmental release
if: "! steps.check-version.outputs.tag"
run: |
poetry version patch &&
version=$(poetry version | awk '{ print $2 }') &&
poetry version $version.dev.$(date +%s)
- name: Build package
run: |
poetry version $(git describe --tags --abbrev=0)
poetry build --ansi
- name: Publish package on PyPI
Expand Down

0 comments on commit 14f76dd

Please sign in to comment.