Skip to content

Commit

Permalink
chore: when patching (maybe docs) or doing pre-release, ignore if the…
Browse files Browse the repository at this point in the history
…re are no changes
  • Loading branch information
gastonfournier committed Sep 20, 2024
1 parent 0547915 commit 9eff116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
if: github.event.inputs.release == 'major'
- run: ./gradlew release -Prelease.versionIncrementer=incrementMinor
if: github.event.inputs.release == 'minor'
- run: ./gradlew release -Prelease.versionIncrementer=incrementPatch
- run: ./gradlew release -Prelease.versionIncrementer=incrementPatch -Prelease.ignoreChanges=true
if: github.event.inputs.release == 'patch'
- run: ./gradlew release -Prelease.versionIncrementer=incrementPrerelease -Prelease.versionIncrementer.initialPreReleaseIfNotOnPrerelease=-rc1
- run: ./gradlew release -Prelease.versionIncrementer=incrementPrerelease -Prelease.versionIncrementer.initialPreReleaseIfNotOnPrerelease=-rc1 -Prelease.ignoreChanges=true
if: github.event.inputs.release == 'pre-release'

0 comments on commit 9eff116

Please sign in to comment.