Skip to content

Commit

Permalink
build: support for release
Browse files Browse the repository at this point in the history
Signed-off-by: MarkAckert <[email protected]>
  • Loading branch information
MarkAckert committed Nov 9, 2023
1 parent fcc1ebb commit 4c6da1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/license-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ env:
ARTIFACT_REPO: libs-snapshot-local
ARTIFACT_PATH: org/zowe/licenses
VERSION: ${{ github.event.inputs.zowe_version }}
# Below may be modified depending on inputs
ARTIFACT_VERSION: ${{ github.event.inputs.zowe_version }}-SNAPSHOT
AGG_ARTIFACT_NAME: zowe_licenses_full-SNAPSHOT.zip
CLI_ARTIFACT_NAME: zowe_licenses_cli-SNAPSHOT.zip
ZOS_ARTIFACT_NAME: zowe_licenses_zos-SNAPSHOT.zip
FILENAME_PATTERN: "{filename}-{publishversion}{fileext}"

jobs:

Expand All @@ -68,6 +70,7 @@ jobs:
echo "AGG_ARTIFACT_NAME=zowe_licenses_full.zip" >> $GITHUB_OUTPUT
echo "CLI_ARTIFACT_NAME=zowe_licenses_cli.zip" >> $GITHUB_OUTPUT
echo "ZOS_ARTIFACT_NAME=zowe_licenses_zos.zip" >> $GITHUB_OUTPUT
echo "FILENAME_PATTERN={filename}{fileext}" >> $GITHUB_OUTPUT
fi
- name: Checkout current repo
Expand Down Expand Up @@ -158,6 +161,7 @@ jobs:
timeout-minutes: 10
uses: zowe-actions/shared-actions/publish@main
with:
publish-target-file-pattern: ${{ env.FILENAME_PATTERN }}
publish-target-path-pattern: ${{ env.ARTIFACT_REPO }}/${{ env.ARTIFACT_PATH }}/${{ env.ARTIFACT_VERSION }}/
perform-release: ${{ env.PUBLISH_RELEASE }}
artifacts: |
Expand Down

0 comments on commit 4c6da1b

Please sign in to comment.