You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by bc...@apache.org on 2023/09/13 11:33:09 UTC

[incubator-baremaps] 01/01: Improve release instructions

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

bchapuis pushed a commit to branch improve-release-instructions
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git

commit 92c12b07ea8ef2cb38251aaa49e1d1fdaa72dbe6
Author: Bertil Chapuis <bc...@gmail.com>
AuthorDate: Wed Sep 13 13:32:54 2023 +0200

    Improve release instructions
---
 RELEASE.md                    | 8 +++++---
 scripts/generate-artifacts.sh | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/RELEASE.md b/RELEASE.md
index 8f98ea69..8af91d1e 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -19,6 +19,7 @@ In order to release a new version of Apache Baremaps, follow these steps:
 - [ ] Create a new branch for the release (e.g. `release-<version>`)
 
 ```bash
+cd baremaps
 git checkout -b release-<version>
 git push --set-upstream origin release-<version>
 ```
@@ -52,9 +53,10 @@ git push origin v<version>-rc<number>
 - [ ] Publish the artifacts:
 
 ```bash
+cd ..
 svn co https://dist.apache.org/repos/dist/dev/incubator/baremaps/ baremaps-dev
 mkdir baremaps-dev/<version>-rc<number>
-cp ./baremaps-cli/target/apache-baremaps-<version>-incubating-* baremaps-dev/<version>-rc<number>/.
+cp ./baremaps/baremaps-cli/target/apache-baremaps-<version>-incubating-* baremaps-dev/<version>-rc<number>/.
 svn commit -m "Baremaps <version>-rc<number>"
 ```
 
@@ -118,14 +120,14 @@ You can read the release notes here:
 https://github.com/apache/incubator-baremaps/releases/tag/v<version>-rc<number>
 
 The commit to be voted upon:
-https://github.com/apache/incubator-baremaps/tree/v<version>
+https://github.com/apache/incubator-baremaps/tree/v<version>-rc<number>
 
 Its hash is <hash>.
 
 Its tag is v<version>-rc<number>.
 
 The artifacts to be voted on are located here:
-https://dist.apache.org/repos/dist/release/incubator/baremaps/<version>-rc<number>/
+https://dist.apache.org/repos/dist/dev/incubator/baremaps/<version>-rc<number>/
 
 The hashes of the artifacts are as follows:
 <src>
diff --git a/scripts/generate-artifacts.sh b/scripts/generate-artifacts.sh
index c46157bc..5972d8f2 100755
--- a/scripts/generate-artifacts.sh
+++ b/scripts/generate-artifacts.sh
@@ -32,7 +32,7 @@ docker run \
 cd ./baremaps-cli/target/
 
 # Hash and sign the artifacts
-for artifact in ./baremaps-$version-incubating-*; do
+for artifact in ./apache-baremaps-$version-incubating-*; do
 
   # Hash the artifact
   shasum -a 512 "$artifact" > "$artifact.sha512"