From 8a5a620a5541d587818c500198ba7e4ac8208031 Mon Sep 17 00:00:00 2001 From: MarkAckert Date: Fri, 24 May 2024 10:18:26 -0400 Subject: [PATCH] update source zip env Signed-off-by: MarkAckert --- .dependency/prepare_source_zip.sh | 2 +- .github/workflows/release-v1.yml | 2 ++ .github/workflows/release-v2.yml | 2 ++ .github/workflows/release-v3.yml | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.dependency/prepare_source_zip.sh b/.dependency/prepare_source_zip.sh index 4c1c062..527dd47 100755 --- a/.dependency/prepare_source_zip.sh +++ b/.dependency/prepare_source_zip.sh @@ -21,7 +21,7 @@ SCRIPT_NAME=$(basename "$0") SCRIPT_PWD=$(cd "$(dirname "$0")" && pwd) ROOT_PWD=$(cd "$SCRIPT_PWD" && cd .. && pwd) cd "$ROOT_PWD" -WORK_BRANCH=master +# WORK_BRANCH set as env ZOWE_MANIFEST="https://raw.githubusercontent.com/zowe/zowe-install-packaging/${WORK_BRANCH}/manifest.json.template" WORK_DIR=.release ZIP_DIR="${WORK_DIR}/source_zip" diff --git a/.github/workflows/release-v1.yml b/.github/workflows/release-v1.yml index d82b646..366ff7c 100644 --- a/.github/workflows/release-v1.yml +++ b/.github/workflows/release-v1.yml @@ -132,6 +132,8 @@ jobs: - name: '[Source - formal release only!] Generate source build' timeout-minutes: 10 if: env.IS_FORMAL_RELEASE == 'true' + env: + WORK_BRANCH: v1.x/master run: | export GITHUB_USERNAME=${{ secrets.ZOWE_ROBOT_USER }} export GITHUB_PASSWORD=${{ secrets.ZOWE_ROBOT_TOKEN }} diff --git a/.github/workflows/release-v2.yml b/.github/workflows/release-v2.yml index d930faf..8da4d45 100644 --- a/.github/workflows/release-v2.yml +++ b/.github/workflows/release-v2.yml @@ -136,6 +136,8 @@ jobs: - name: '[Source - formal release only!] Generate source build' timeout-minutes: 10 if: env.IS_FORMAL_RELEASE == 'true' + env: + WORK_BRANCH: v2.x/master run: | export GITHUB_USERNAME=${{ secrets.ZOWE_ROBOT_USER }} export GITHUB_PASSWORD=${{ secrets.ZOWE_ROBOT_TOKEN }} diff --git a/.github/workflows/release-v3.yml b/.github/workflows/release-v3.yml index f62600b..9dbed12 100644 --- a/.github/workflows/release-v3.yml +++ b/.github/workflows/release-v3.yml @@ -136,6 +136,8 @@ jobs: - name: '[Source - formal release only!] Generate source build' timeout-minutes: 10 if: env.IS_FORMAL_RELEASE == 'true' + env: + WORK_BRANCH: v3.x/master run: | export GITHUB_USERNAME=${{ secrets.ZOWE_ROBOT_USER }} export GITHUB_PASSWORD=${{ secrets.ZOWE_ROBOT_TOKEN }}