You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lo...@apache.org on 2024/06/18 18:25:47 UTC

(beam) branch master updated: Update build_release_candidate.yml (#31638)

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

lostluck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ed91c880f8 Update build_release_candidate.yml (#31638)
3ed91c880f8 is described below

commit 3ed91c880f85d09a45039e70d5136f1c2324916d
Author: Robert Burke <lo...@users.noreply.github.com>
AuthorDate: Tue Jun 18 11:25:40 2024 -0700

    Update build_release_candidate.yml (#31638)
    
    Fix issue where the release version directory might not exist yet for the SVN repo when the prism build step occurs.
    
    ```
    ...........Adding prism artifacts to the Dev Apache SVN repo...........
    svn: E150000: Can't find parent directory's node while trying to add '/home/runner/work/beam/beam/beam/2.57.0/prism'
    svn: E155010: The node '/home/runner/work/beam/beam/beam/2.57.0' was not found.
    ```
    
    Adding --parents makes SVN also add intermediate parents before making the update.
---
 .github/workflows/build_release_candidate.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_release_candidate.yml b/.github/workflows/build_release_candidate.yml
index ab4b3859177..215f2566634 100644
--- a/.github/workflows/build_release_candidate.yml
+++ b/.github/workflows/build_release_candidate.yml
@@ -530,6 +530,6 @@ jobs:
 
           echo "...........Adding prism artifacts to the Dev Apache SVN repo..........."
 
-          svn add --force prism
+          svn add --force --parents prism
           svn status
           svn commit -m "Staging Prism artifacts for Apache Beam ${RELEASE} RC${RC_NUM}" --non-interactive --username "${{ github.event.inputs.APACHE_ID }}" --password "${{ github.event.inputs.APACHE_PASSWORD }}"