Skip to content

Commit

Permalink
Bump release version
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesbertaglia authored Feb 1, 2021
1 parent 2add909 commit 640ca52
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ 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: Detect and tag new version
id: check-version
Expand All @@ -42,13 +49,6 @@ jobs:
with:
version-command: |
bash -o pipefail -c "poetry version | awk '{ print \$2 }'"
- 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: Publish package on PyPI
uses: pypa/[email protected]
Expand Down

0 comments on commit 640ca52

Please sign in to comment.