Skip to content

Commit

Permalink
chore: Reset everything for a new release attempt using the scripts. …
Browse files Browse the repository at this point in the history
…Also changed the deployment url in the apache-release profile.
  • Loading branch information
chrisdutz committed Feb 16, 2024
1 parent 566b48f commit 516b2f6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/release-abort.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
DIRECTORY=$(pwd)
PRE_RELEASE_VERSION=0.12.0-SNAPSHOT

# Set the local development version back to the initial one.
../mvnw -f ../pom.xml -e -P with-c,with-dotnet,with-go,with-java,with-python,with-sandbox,update-generated-code -Dmaven.repo.local="$DIRECTORY/../out/.repository" versions:set -DnewVersion="$PRE_RELEASE_VERSION"

# Delete left-over files from the last attempt.
find .. -type f -name 'release.properties' -delete
find .. -type f -name 'pom.xml.versionsBackup' -delete
find .. -type f -name 'pom.xml.releaseBackup' -delete

# delete branch locally
echo "git branch -d rel/{version-short}"

Expand All @@ -52,11 +60,3 @@ echo "git tag -d v{version}"

# delete tag remotely
echo "git push origin --delete v{version}"

# Delete left-over files from the last attempt.
find .. -type f -name 'release.properties' -delete
find .. -type f -name 'pom.xml.versionsBackup' -delete
find .. -type f -name 'pom.xml.releaseBackup' -delete

# Set the local development version back to the initial one.
../mvnw -f ../pom.xml -e -P with-c,with-dotnet,with-go,with-java,with-python,with-sandbox,update-generated-code -Dmaven.repo.local="$DIRECTORY/../out/.repository" versions:set -DnewVersion="$PRE_RELEASE_VERSION"

0 comments on commit 516b2f6

Please sign in to comment.