You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2024/08/22 22:17:08 UTC

(beam) 01/01: Mock with a fake RC

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

damccorm pushed a commit to branch users/damccorm/mock_rc
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 1048b6e1b7b4dac47538af649d5dc63c857a50b6
Author: Danny McCormick <da...@google.com>
AuthorDate: Thu Aug 22 23:16:54 2024 +0100

    Mock with a fake RC
---
 .github/workflows/build_wheels.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 9eb661d97b7..37811e0d91a 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -101,13 +101,13 @@ jobs:
         run: |
           echo ${{ steps.get_tag.outputs.TAG }} > temp
           OUTPUT=$( if  grep -e '-RC.' -q temp; then echo 1; else echo 0; fi)
-          echo "is_rc=$OUTPUT" >> $GITHUB_OUTPUT
+          echo "is_rc=1" >> $GITHUB_OUTPUT
       - name: Get RELEASE_VERSION and RC_NUM
         if: steps.is_rc.outputs.is_rc == 1
         id: get_rc_version
         run: |
-          RC_NUM=$(sed -n "s/^.*-RC\([0-9]*\)/\1/p" temp)
-          RELEASE_VERSION=$(sed -n "s/^v\(.*\)-RC[0-9]/\1/p" temp)
+          RC_NUM=1
+          RELEASE_VERSION="2_59_0"
           echo "RC_NUM=$RC_NUM" >> $GITHUB_OUTPUT
           echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT
       - name: Build source