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 }}