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/09/03 03:25:14 UTC

(incubator-grails-gradle-publish) branch main updated: ci: add missing upload distributions

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

jdaugherty pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-grails-gradle-publish.git


The following commit(s) were added to refs/heads/main by this push:
     new 4fb5ada  ci: add missing upload distributions
4fb5ada is described below

commit 4fb5ada31de245b9616c1c870649af998e2a52fc
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Tue Sep 2 23:25:04 2025 -0400

    ci: add missing upload distributions
---
 .github/workflows/release.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 282f530..eeb39d7 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -315,6 +315,16 @@ jobs:
           curl -LO https://github.com/apache/grails-core/releases/download/$TAG/apache-grails-publish-$VERSION-incubating-src.zip.asc
           echo "Downloaded the following files:"
           ls -l
+      - name: "Upload distributions"
+        run: |
+          export TAG="v${{ needs.publish.outputs.release_version }}"
+          export VERSION="${{ needs.publish.outputs.release_version }}"
+          cd dev-repo
+          echo "Adding the following files to SVN:"
+          tree
+          svn add $VERSION --force
+          svn commit -m "Upload grails distribution files for $VERSION" --username "$SVN_USERNAME" --password "$SVN_PASSWORD" --non-interactive
+          pwd
       - name: "💾 Store Distribution SVN revision in a file"
         run: |
           export VERSION="${{ needs.publish.outputs.release_version }}"