Skip to content

Commit

Permalink
build: don't fail release if version didn't change
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <[email protected]>
  • Loading branch information
fbricon committed Nov 27, 2023
1 parent 297750a commit 5aee8ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ jobs:
run: |
git config user.email "[email protected]"
git config user.name "GitHub Action"
git commit -sam "chore(skip-release): set version to $PLUGIN_VERSION"
if git diff --quiet; then
echo "No changes to commit."
else
git commit -sam "chore(skip-release): set version to $PLUGIN_VERSION"
fi
git tag $PLUGIN_VERSION
git push origin $PLUGIN_VERSION
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginName=Quarkus Tools
pluginRepositoryUrl=https://github.com/redhat-developer/intellij-quarkus
# SemVer format -> https://semver.org
# NO SPACES AROUND THE EQUALS SIGN!!
pluginVersion=1.30.0
pluginVersion=1.30.1-SNAPSHOT
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=222
#pluginUntilBuild=233.*
Expand Down

0 comments on commit 5aee8ef

Please sign in to comment.