Skip to content

Commit

Permalink
Try making it easier to see what version was published (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmonniot committed Aug 11, 2024
1 parent da6992e commit 646c7c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
- name: Check git diff
if: ${{ failure() }}
run: git diff
- name: Print published version
if: github.ref == 'refs/heads/main'
run: |
VERSION=$(sbt -no-colors 'inspect version' | grep "Setting: java.lang.String" | cut -d '=' -f2 | tr -d ' ')
echo '### Snapshot version' >> $GITHUB_STEP_SUMMARY
echo "version: $VERSION" >> $GITHUB_STEP_SUMMARY
website:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 646c7c4

Please sign in to comment.