You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/07/07 22:24:54 UTC

(grails-core) branch 7.0.x updated: [skip ci] ci: fix variable assignment

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-core.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 44a0492dc4 [skip ci] ci: fix variable assignment
44a0492dc4 is described below

commit 44a0492dc4089ed9e908d63c98084cad7e43e2bf
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Mon Jul 7 18:24:34 2025 -0400

    [skip ci] ci: fix variable assignment
---
 .github/workflows/release.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 96ac986cf6..a0f507f2ed 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -469,7 +469,7 @@ jobs:
           VERSION: ${{ needs.publish.outputs.release_version }}
           VERSION_COMMIT_ID: ${{ needs.publish.outputs.commit_hash }}
         run: |
-          export DIST_SVN_REVISION = $(cat dev-repo/DIST_SVN_REVISION.txt | grep 'Last Changed Rev:' | awk '{print $4}')
+          export DIST_SVN_REVISION=$(awk '/Last Changed Rev:/ {print $4}' dev-repo/DIST_SVN_REVISION.txt)
           
           echo "*************************************************"
           echo "Subject: [VOTE] Release Apache Grails (incubating) ${VERSION}"