Skip to content

Commit

Permalink
Merge pull request #743 from yarikoptic/enh-release
Browse files Browse the repository at this point in the history
Make it possible to review auto version -v output during release + adjust that workflow step description
  • Loading branch information
yarikoptic authored Feb 26, 2024
2 parents 7b98ae7 + 17aad35 commit 4518a54
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ jobs:
wget -O- https://github.com/intuit/auto/releases/download/v10.16.1/auto-linux.gz | gunzip > ~/auto
chmod a+x ~/auto
- name: Check whether a release is due
- name: Query 'auto' on type of the release
id: auto-version
run: |
version="$(~/auto version)"
# to be able to debug if something goes wrong
set -o pipefail
auto version -vv | tee /tmp/auto-version
version="$(sed -ne '/Calculated SEMVER bump:/s,.*: *,,p' /tmp/auto-version)"
echo "version=$version" >> "$GITHUB_OUTPUT"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4518a54

Please sign in to comment.