Skip to content

Commit

Permalink
simultaneous pypi + release publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel.brostrom committed May 25, 2023
1 parent 04081a5 commit 30de442
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
run: |
current_version=$(python -c "from boxmot import __version__; print(__version__)")
echo "::set-output name=version::$current_version"
run: echo "version=$current_version" >> $GITHUB_OUTPUT
if: ${{ success() }}

- name: Increment package version
Expand All @@ -52,7 +53,7 @@ jobs:
IFS='.' read -r -a version_parts <<< "$current_version"
((version_parts[2]++))
new_version="${version_parts[0]}.${version_parts[1]}.${version_parts[2]}"
echo "::set-output name=new_version::$new_version"
run: echo "new_version=$new_version" >> $GITHUB_OUTPUT
if: ${{ success() }}

- name: Commit and push updated version
Expand Down

0 comments on commit 30de442

Please sign in to comment.