Skip to content

Commit

Permalink
Update actions/pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Jan 9, 2024
1 parent 8ff945e commit 569bbfd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/pre-release/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ cat gradle.properties
echo "Pushing release version and recreating v${release_version} tag"
git add gradle.properties
git add grails-core/src/test/groovy/grails/util/GrailsUtilTests.java
git commit -m "Release v${release_version}"
git push origin :refs/tags/v${release_version}
git commit -m "[skip ci] Release v${release_version}"
git tag -fa v${release_version} -m "Release v${release_version}"
git push origin v${release_version}
git push origin v${release_version} --force

echo "Closing again the release after updating the tag"
release_url=`cat $GITHUB_EVENT_PATH | jq '.release.url' | sed -e 's/^"\(.*\)"$/\1/g'`
Expand Down

0 comments on commit 569bbfd

Please sign in to comment.