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 2025/01/07 20:20:03 UTC
(incubator-baremaps) branch main updated (27dba59bb -> 767b079bc)
This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
omit 27dba59bb Add additional suffixes to trigger the release workflow
new 767b079bc Add a github workflow for pre-releases
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 (27dba59bb)
\
N -- N -- N refs/heads/main (767b079bc)
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:
.github/workflows/{release.yml => pre-release.yml} | 18 +++++-------------
.github/workflows/release.yml | 9 +++------
2 files changed, 8 insertions(+), 19 deletions(-)
copy .github/workflows/{release.yml => pre-release.yml} (82%)
(incubator-baremaps) 01/01: Add a github workflow for pre-releases
Posted by bc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit 767b079bc170aeecc787ab6daf04bec524763a09
Author: Bertil Chapuis <bc...@gmail.com>
AuthorDate: Tue Jan 7 11:16:32 2025 +0100
Add a github workflow for pre-releases
---
.github/workflows/{release.yml => pre-release.yml} | 22 ++++++++--------------
.github/workflows/release.yml | 5 ++---
2 files changed, 10 insertions(+), 17 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/pre-release.yml
similarity index 81%
copy from .github/workflows/release.yml
copy to .github/workflows/pre-release.yml
index f69109dd8..5c56857aa 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/pre-release.yml
@@ -3,11 +3,12 @@ name: Release
on:
push:
tags:
- - 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
-
+ - 'v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+'
+ - 'v[0-9]+.[0-9]+.[0-9]+-beta[0-9]+'
+ - 'v[0-9]+.[0-9]+.[0-9]+-test[0-9]+'
jobs:
- publish-candidate:
- name: Publish candidate
+ publish-pre-release:
+ name: Publish pre-release
runs-on: ubuntu-latest
steps:
@@ -31,7 +32,7 @@ jobs:
echo "git_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
echo "mvn_version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_OUTPUT
- - name: Build candidate
+ - name: Build pre-release
run: mvn install -DskipTests -Dmaven.javadoc.skip=true -B -V
- name: Set up GPG
@@ -41,7 +42,7 @@ jobs:
env:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
- - name: Sign and hash candidate
+ - name: Sign and hash pre-release
run: |
cd ./baremaps-cli/target
mv apache-baremaps-${{ steps.variables.outputs.mvn_version }}-incubating-src.tar.gz apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz
@@ -52,7 +53,7 @@ jobs:
gpg --no-tty --quiet --pinentry-mode loopback --default-key "${{ secrets.GPG_KEY_ID }}" --batch --yes --output "./apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-bin.tar.gz.asc" --detach-sign --armor "./apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-bin.tar.gz"
cd -
- - name: Publish release candidate on GitHub
+ - name: Publish pre-release on GitHub
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
@@ -63,10 +64,3 @@ jobs:
gh release upload --clobber "${{ steps.variables.outputs.git_tag }}" ./baremaps-cli/target/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-bin.tar.gz
gh release upload --clobber "${{ steps.variables.outputs.git_tag }}" ./baremaps-cli/target/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-bin.tar.gz.sha512
gh release upload --clobber "${{ steps.variables.outputs.git_tag }}" ./baremaps-cli/target/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-bin.tar.gz.asc
-
- - name: Publish release candidate on Apache SVN
- run: |
- mkdir -p ${{ steps.variables.outputs.git_version }}
- cp ./baremaps-cli/target/apache-baremaps-${{ steps.variables.outputs.git_version }}-* ${{ steps.variables.outputs.git_version }}
- svn --username "${{ secrets.INCUBATOR_SVN_DEV_USERNAME }}" --password "${{ secrets.INCUBATOR_SVN_DEV_PASSWORD }}" import -m "Apache Baremaps ${{ steps.variables.outputs.git_version }} (incubating)" ${{ steps.variables.outputs.git_version }} https://dist.apache.org/repos/dist/dev/incubator/baremaps/${{ steps.variables.outputs.git_version }}
- rm -rf ${{ steps.variables.outputs.git_version }}
\ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f69109dd8..55520fec1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,7 +5,6 @@ on:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
-jobs:
publish-candidate:
name: Publish candidate
runs-on: ubuntu-latest
@@ -31,7 +30,7 @@ jobs:
echo "git_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
echo "mvn_version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_OUTPUT
- - name: Build candidate
+ - name: Build release candidate
run: mvn install -DskipTests -Dmaven.javadoc.skip=true -B -V
- name: Set up GPG
@@ -41,7 +40,7 @@ jobs:
env:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
- - name: Sign and hash candidate
+ - name: Sign and hash release candidate
run: |
cd ./baremaps-cli/target
mv apache-baremaps-${{ steps.variables.outputs.mvn_version }}-incubating-src.tar.gz apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz