Check for changes since last tag
This commit is contained in:
parent
7487503501
commit
4158834d84
6
.github/workflows/create-release.yml
vendored
6
.github/workflows/create-release.yml
vendored
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user