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/05/30 16:39:16 UTC

(grails-core) branch 7.0.x updated: [skip ci] restore commented sections

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 4b6a3da1de [skip ci] restore commented sections
4b6a3da1de is described below

commit 4b6a3da1debf34d8669f43328e0c741580c716d2
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri May 30 12:39:01 2025 -0400

    [skip ci] restore commented sections
---
 .github/workflows/release-upload.yml | 57 ++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 29 deletions(-)

diff --git a/.github/workflows/release-upload.yml b/.github/workflows/release-upload.yml
index 48fa7e6311..46b0ec9219 100644
--- a/.github/workflows/release-upload.yml
+++ b/.github/workflows/release-upload.yml
@@ -13,7 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Prior to running this workflow upload the keys file & pre-create the project folders under dev/release
 name: "Release - Upload to dist.apache.org"
 on:
   workflow_dispatch:
@@ -42,34 +41,34 @@ jobs:
           path: grails-core
       - name: "Setup SVN and Tools"
         run: sudo apt-get install -y subversion subversion-tools
-#      - name: "Ensure grails release folder exists"
-#        run: |
-#          set -e
-#
-#          if svn ls https://dist.apache.org/repos/dist/release/grails --username "$SVN_USERNAME" --password "$SVN_PASSWORD" --non-interactive; then
-#            echo "Release Folder 'grails' already exists — skipping creation"
-#          else
-#            echo "Release Folder 'grails' does not exist, creating"
-#            svnmucc --non-interactive \
-#              --username "$SVN_USERNAME" \
-#              --password "$SVN_PASSWORD" \
-#              mkdir https://dist.apache.org/repos/dist/release/grails \
-#              -m "Create 'grails' release folder"
-#          fi
-#      - name: "Ensure grails dev folder exists"
-#        run: |
-#          set -e
-#
-#          if svn ls https://dist.apache.org/repos/dist/dev/grails --username "$SVN_USERNAME" --password "$SVN_PASSWORD" --non-interactive; then
-#            echo "Dev Folder 'grails' already exists — skipping creation"
-#          else
-#            echo "Dev Folder 'grails' does not exist, creating"
-#            svnmucc --non-interactive \
-#              --username "$SVN_USERNAME" \
-#              --password "$SVN_PASSWORD" \
-#              mkdir https://dist.apache.org/repos/dist/dev/grails \
-#              -m "Create 'grails' dev folder"
-#          fi
+      - name: "Ensure grails release folder exists"
+        run: |
+          set -e
+
+          if svn ls https://dist.apache.org/repos/dist/release/grails --username "$SVN_USERNAME" --password "$SVN_PASSWORD" --non-interactive; then
+            echo "Release Folder 'grails' already exists — skipping creation"
+          else
+            echo "Release Folder 'grails' does not exist, creating"
+            svnmucc --non-interactive \
+              --username "$SVN_USERNAME" \
+              --password "$SVN_PASSWORD" \
+              mkdir https://dist.apache.org/repos/dist/release/grails \
+              -m "Create 'grails' release folder"
+          fi
+      - name: "Ensure grails dev folder exists"
+        run: |
+          set -e
+
+          if svn ls https://dist.apache.org/repos/dist/dev/grails --username "$SVN_USERNAME" --password "$SVN_PASSWORD" --non-interactive; then
+            echo "Dev Folder 'grails' already exists — skipping creation"
+          else
+            echo "Dev Folder 'grails' does not exist, creating"
+            svnmucc --non-interactive \
+              --username "$SVN_USERNAME" \
+              --password "$SVN_PASSWORD" \
+              mkdir https://dist.apache.org/repos/dist/dev/grails \
+              -m "Create 'grails' dev folder"
+          fi
       - name: "Checkout release repo"
         run: |
           svn checkout --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD" https://dist.apache.org/repos/dist/release/grails release-repo