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