This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new ffc0be20a9 Minor updates to release guide sources dist promotion
ffc0be20a9 is described below
commit ffc0be20a96cfadf398bc4e4f22d3587c8dfdaa7
Author: James Netherton <[email protected]>
AuthorDate: Mon Jan 20 08:23:41 2025 +0000
Minor updates to release guide sources dist promotion
---
docs/modules/ROOT/pages/contributor-guide/release-guide.adoc | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
index 952683a059..5273d074c8 100644
--- a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
+++ b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc
@@ -206,13 +206,13 @@ For instance, one could search mail with subject:
Once the staging repository has been released, the Apache Camel Quarkus
distribution subversion repository should be updated.
-In a first step, one would simply need to promote the deliverables from the
development to the distribution svn repository by invoking the
`promote-release.sh`.
+In a first step, one would simply need to promote the deliverables from the
development to the distribution svn repository by invoking the
`promote-release.sh` script and passing the release version as an argument.
[source,shell]
----
-export VERSION=$(mvn help:evaluate -Dexpression=project.version -q
-DforceStdout | sed 's|-SNAPSHOT||') # the version you are releasing, e.g. 0.1.0
+export VERSION=... # The release version to promote e.g 3.18.0
cd release-utils/scripts/
-./promote-release.sh $VERSION $VERSION
+./promote-release.sh $VERSION
----
In a second step, it is needed to check that useless versions are deleted from
the svn repository.
@@ -248,7 +248,6 @@ Review and commit the changes:
----
cd ..
svn diff
-svn add --force .
svn commit -m "Cleaning inactive Camel Quarkus versions after $VERSION release"
----