Skip to content

Commit

Permalink
Show auto version -v (to be able to debug) and then take last line fo…
Browse files Browse the repository at this point in the history
…r the actual version boost
  • Loading branch information
yarikoptic committed Feb 26, 2024
1 parent 7b98ae7 commit f99594d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
- name: Check whether a release is due
id: auto-version
run: |
version="$(~/auto version)"
# to be able to debug if something goes wrong
auto version -v | tee /tmp/auto-version
version="$(tail -n 1 /tmp/auto-version)"
echo "version=$version" >> "$GITHUB_OUTPUT"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f99594d

Please sign in to comment.