This is an automated email from the ASF dual-hosted git repository.
engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/main by this push:
new e3800f1c2c fix: stage releases from CI (#2529)
e3800f1c2c is described below
commit e3800f1c2cd429b0e6925a2540c8effd3bc263e3
Author: Arnout Engelen <[email protected]>
AuthorDate: Mon Nov 24 13:18:51 2025 +0100
fix: stage releases from CI (#2529)
A few fixes as a result of testing
---
.github/workflows/stage-release-candidate.yml | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/stage-release-candidate.yml
b/.github/workflows/stage-release-candidate.yml
index 3565cc5483..983f1e760d 100644
--- a/.github/workflows/stage-release-candidate.yml
+++ b/.github/workflows/stage-release-candidate.yml
@@ -80,11 +80,16 @@ jobs:
- name: Sign source archive
run: |-
- echo $PEKKO_GPG_SECRET_KEY | gpg --batch --import --import-options
import-show
+ echo "$PEKKO_GPG_SECRET_KEY" | gpg --batch --import --import-options
import-show
gpg -ab archive/*.tgz
env:
PEKKO_GPG_SECRET_KEY: ${{ secrets.PEKKO_GPG_SECRET_KEY }}
+ - name: Install Apache Subversion
+ run: |-
+ sudo apt-get update
+ sudo apt-get install -y subversion
+
- name: Upload source dist
run: |-
svn checkout https://dist.apache.org/repos/dist/dev/pekko dist
@@ -94,8 +99,8 @@ jobs:
mkdir $RC_VERSION
cp ../archive/* $RC_VERSION
- svn add $RC_VERSION $RC_VERSION/*
- svn commit --username $PEKKO_SVN_DEV_USERNAME --password
$PEKKO_SVN_DEV_PASSWORD --message "Stage Pekko $RC_VERSION" $RC_VERSION
+ svn add $RC_VERSION
+ svn commit --username "$PEKKO_SVN_DEV_USERNAME" --password
"$PEKKO_SVN_DEV_PASSWORD" --message "Stage Pekko $RC_VERSION" $RC_VERSION
env:
PEKKO_SVN_DEV_USERNAME: ${{ secrets.PEKKO_SVN_DEV_USERNAME }}
PEKKO_SVN_DEV_PASSWORD: ${{ secrets.PEKKO_SVN_DEV_PASSWORD }}
@@ -103,7 +108,7 @@ jobs:
stage-jars-to-nexus:
runs-on: ubuntu-24.04
- if: ${{ inputs.source-tar }}
+ if: ${{ inputs.jars }}
steps:
- name: Check version parameter
run: |-
@@ -148,12 +153,12 @@ jobs:
- name: Build, sign and stage artifacts
run: |-
VERSION=$(echo $REF | sed -e "s/.\(.*\)-.*/\\1/")
- PGP_PASSPHRASE=
+ echo "$PEKKO_GPG_SECRET_KEY" | gpg --batch --import --import-options
import-show
sbt "set ThisBuild / version := \"$VERSION\"; +publishSigned"
sbt "set ThisBuild / version := \"$VERSION\"; sonatypePrepare; set
ThisBuild / version := \"$VERSION\"; sonatypeBundleUpload; sonatypeClose"
env:
REF: ${{ github.ref_name }}
- PGP_SECRET: ${{ secrets.PEKKO_GPG_SECRET_KEY }}
- SONATYPE_USERNAME: ${{ secrets.NEXUS_USER }}
- SONATYPE_PASSWORD: ${{ secrets.NEXUS_PW }}
+ PEKKO_GPG_SECRET_KEY: ${{ secrets.PEKKO_GPG_SECRET_KEY }}
+ SONATYPE_USERNAME: ${{ secrets.NEXUS_STAGE_DEPLOYER_USER }}
+ SONATYPE_PASSWORD: ${{ secrets.NEXUS_STAGE_DEPLOYER_PW }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]