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/03/07 22:40:39 UTC

[incubator-baremaps] branch 492-release updated (362c9781 -> c261ab82)

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

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


 discard 362c9781 Add release instructions and fix minor issues
     new c261ab82 Add release instructions and fix minor issues

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (362c9781)
            \
             N -- N -- N   refs/heads/492-release (c261ab82)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 RELEASE.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


[incubator-baremaps] 01/01: Add release instructions and fix minor issues

Posted by bc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c261ab826b9636816c9f65000e5f17ade38e2f5e
Author: Bertil Chapuis <bc...@gmail.com>
AuthorDate: Tue Mar 7 13:57:54 2023 +0100

    Add release instructions and fix minor issues
---
 RELEASE.md                        | 104 ++++++++++++++++++++++++++++++++++++++
 baremaps-cli/src/assembly/src.xml |   1 +
 pom.xml                           |   7 ++-
 3 files changed, 108 insertions(+), 4 deletions(-)

diff --git a/RELEASE.md b/RELEASE.md
new file mode 100644
index 00000000..3c5487b5
--- /dev/null
+++ b/RELEASE.md
@@ -0,0 +1,104 @@
+# Release instructions
+
+In order to release a new version of baremaps, follow these steps:
+
+- [ ] Notify the community of the upcoming release by creating a new issue on GitHub.
+- [ ] Notify the community by sending a message on the mailing list and ask to pause commits on the main branch.
+- [ ] Create a new branch for the release:
+
+```bash
+git checkout -b [release_branch]
+git push --set-upstream origin [release_branch]
+```
+
+- [ ] Set the release version and commit the changes:
+
+```bash 
+mvn versions:set -DnewVersion=[version]
+git commit -a -m "Release Baremaps [version]"
+```
+
+- [ ] Tag the commit with the release candidate version:
+
+```bash
+git tag v[version]-rc[n]
+```
+
+- [ ] Push the branch and the tag to the remote repository:
+
+```bash
+git push origin v[version]-rc[n]
+```
+
+- [ ] Generate the GPG and SHA512 signatures of the release candidate (instructions below).
+- [ ] Generate the release notes and attach them to the release candidate on GitHub.
+- [ ] Ask the community to vote for the release candidate.
+- [ ] If the release candidate is not approved by the community, perform the necessary changes and go back to step 4.
+- [ ] Otherwise, tag the commit with the release version:
+
+```bash
+git tag -a v[version]
+git push origin v[version]
+```
+
+- [ ] Set the next development version and commit the changes:
+
+```bash
+mvn versions:set -DnewVersion=[next_version]-SNAPSHOT
+git commit -a -m "Prepare for next development iteration"
+git push origin
+```
+
+- [ ] Merge the accepted release candidate branch into the main branch.
+- [ ] Notify the community of the release by sending a message on the mailing list.
+- [ ] Clean up all the release candidate branches and tags.
+
+## Signing and verifying releases with GPG
+
+The following command signs the release with GPG:
+
+```bash
+gpg --no-tty --pinentry-mode loopback --batch --yes --passphrase "$GPG_PASSPHRASE" --output "baremaps-[version]-incubating-[src|bin].zip.asc" --detach-sign --armor "baremaps-[version]-incubating-[src|bin].zip"
+```
+
+The following command verifies the release with GPG:
+
+```bash
+gpg --verify baremaps-[version]-incubating-[src|bin].zip.asc
+```
+
+## Signing and verifying releases with SHA512
+
+The following command signs the release with SHA512:
+
+```bash
+shasum -a 512 -c baremaps-[version]-incubating-[src|bin].zip.sha512
+```
+
+The following command verifies the release with SHA512:
+
+```bash
+gpg --verify baremaps-[version]-incubating-[src|bin].zip.asc
+```
+
+## Email template
+
+Hello Baremaps Community,
+
+This is a call for a vote to the 1st release candidate for Apache Baremaps,
+version [version]-incubating.
+
+We request project mentors (binded) as well as all contributors (unbinded)
+and users to review and vote on this incubator release.
+
+The commit to be voted upon:
+[url]
+
+The full list of changes and release notes are available at:
+[url]
+
+Best regards,
+
+[Release manager name]
+
+
diff --git a/baremaps-cli/src/assembly/src.xml b/baremaps-cli/src/assembly/src.xml
index 35522a9a..377dc6a2 100644
--- a/baremaps-cli/src/assembly/src.xml
+++ b/baremaps-cli/src/assembly/src.xml
@@ -28,6 +28,7 @@
                 <include>codestyle.xml</include>
                 <include>DISCLAIMER-WIP</include>
                 <include>LICENSE</include>
+                <include>LICENSE.header</include>
                 <include>NOTICE</include>
                 <include>README</include>
             </includes>
diff --git a/pom.xml b/pom.xml
index 3229486f..ebb0f707 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,10 +51,9 @@
   </modules>
 
   <scm>
-    <connection>scm:git:git@github.com:baremaps/baremaps.git</connection>
-    <developerConnection>scm:git:git@github.com:baremaps/baremaps.git</developerConnection>
-    <tag>v0.2.3</tag>
-    <url>scm:git:git@github.com:baremaps/baremaps.git</url>
+    <connection>scm:git:git@github.com:apache/baremaps.git</connection>
+    <developerConnection>scm:git:git@github.com:apache/baremaps.git</developerConnection>
+    <url>scm:git:git@github.com:apache/baremaps.git</url>
   </scm>
 
   <distributionManagement>