This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 516b2f670f chore: Reset everything for a new release attempt using the 
scripts. Also changed the deployment url in the apache-release profile.
516b2f670f is described below

commit 516b2f670f4899ad48c65e8a4275991b8a3b11bc
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Fri Feb 16 11:44:29 2024 +0100

    chore: Reset everything for a new release attempt using the scripts. Also 
changed the deployment url in the apache-release profile.
---
 tools/release-abort.sh | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tools/release-abort.sh b/tools/release-abort.sh
index be9658b7c8..e31190015d 100755
--- a/tools/release-abort.sh
+++ b/tools/release-abort.sh
@@ -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}"
 
@@ -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"

Reply via email to