This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-forge.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new ac06417 fix nexus publish for different staging repo & release
version id
ac06417 is described below
commit ac064178d721af6129231adb05faaa0027cfa43f
Author: James Daugherty <[email protected]>
AuthorDate: Wed May 28 15:27:53 2025 -0400
fix nexus publish for different staging repo & release version id
---
.github/workflows/release.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1a441eb..cbbcd51 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -48,10 +48,12 @@ jobs:
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: '⚙️ Run pre-release'
- id: release_version
uses: grails/grails-github-actions/pre-release@asf
env:
RELEASE_SCRIPT_PATH: '.github/scripts/setReleasedGrailsVersion.sh'
+ - name: "📝 Store the current release version"
+ id: release_version
+ run: echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
- name: "🧩 Assemble"
run: ./gradlew assemble
- name: "📦 Generate docs"
@@ -69,6 +71,7 @@ jobs:
NEXUS_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
NEXUS_PUBLISH_URL: 'https://repository.apache.org/service/local/'
NEXUS_PUBLISH_STAGING_PROFILE_ID: ${{ secrets.STAGING_PROFILE_ID }}
+ NEXUS_PUBLISH_DESCRIPTION: 'grails-release:${{
steps.release_version.outputs.value }}'
SIGNING_KEY: ${{ secrets.GPG_KEY_ID }}
run: >
./gradlew