Check for changes since last tag

This commit is contained in:
Luke Tainton 2024-07-15 20:55:57 +01:00
parent 7487503501
commit 4158834d84
No known key found for this signature in database

View File

@ -19,9 +19,9 @@ jobs:
- name: Changes since last tag - name: Changes since last tag
id: changes id: changes
uses: jsmith/changes-since-last-tag@v0.4.1 run: |
env: CHANGES=${git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if [ -z "$CHANGES" ]; then exit 1; else exit 1; fi
- name: Bump version and push tag - name: Bump version and push tag
if: steps.changes.outputs.any_changed == 'true' if: steps.changes.outputs.any_changed == 'true'