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

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


The following commit(s) were added to 
refs/heads/java_expansion_service_container_snapshots by this push:
     new 85f2596e282 Tags Java SNAPSHOT containers with the '.dev' version
85f2596e282 is described below

commit 85f2596e2821e3ee53796f1e3cb884cc3c6eb2e5
Author: Chamikara Jayalath <[email protected]>
AuthorDate: Sun Oct 6 13:01:34 2024 -0700

    Tags Java SNAPSHOT containers with the '.dev' version
---
 .github/workflows/beam_Publish_Beam_SDK_Snapshots.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/beam_Publish_Beam_SDK_Snapshots.yml 
b/.github/workflows/beam_Publish_Beam_SDK_Snapshots.yml
index 907e5a180e1..4516419f68e 100644
--- a/.github/workflows/beam_Publish_Beam_SDK_Snapshots.yml
+++ b/.github/workflows/beam_Publish_Beam_SDK_Snapshots.yml
@@ -82,7 +82,10 @@ jobs:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           github_job: ${{ matrix.job_name }} (${{ matrix.container_task }})
       - name: Print Output
-        run: echo "Release version is ${RELEASE_VERSION}"
+        run: |
+          BEAM_VERSION_LINE=$(cat gradle.properties | grep "sdk_version")
+          BEAM_VERSION=${BEAM_VERSION_LINE#*sdk_version=}
+          echo "Beam version is $BEAM_VERSION"
         id: print_output
         #>> $GITHUB_ENV
 #        run: echo "Release version is ${RELEASE_VERSION}" >> $GITHUB_ENV

Reply via email to