From 6bd0f4e42c96dbb0eeeaf6b329d80a8c7b07cac6 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Wed, 21 Sep 2022 09:12:46 -0400 Subject: [PATCH] Create zip bundle for GitHub release Signed-off-by: Timothy Johnson --- .github/workflows/dev-release.yaml | 8 +++++++- README.md | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dev-release.yaml b/.github/workflows/dev-release.yaml index c2cbf2cc..28d1f541 100644 --- a/.github/workflows/dev-release.yaml +++ b/.github/workflows/dev-release.yaml @@ -45,6 +45,12 @@ jobs: - name: Build dist wheels run: bash build.sh + - name: Create zip bundle + working-directory: dist + run: | + pip download -f . zowe-${{ steps.update-version.outputs.version }}-py3-none-any.whl + zip zowe-python-sdk-${{ steps.update-version.outputs.version }}.zip *.whl + - name: Commit version update uses: stefanzweifel/git-auto-commit-action@v4 with: @@ -58,5 +64,5 @@ jobs: - name: Create GitHub release uses: softprops/action-gh-release@v1 with: - files: 'dist/*.whl' + files: 'dist/zowe-python-sdk-${{ steps.update-version.outputs.version }}.zip' tag_name: v${{ steps.update-version.outputs.version }} diff --git a/README.md b/README.md index b0193a10..ef5d0852 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,10 @@ pip install zowe._for_zowe_sdk For more information on the available sub-packages click [HERE](https://zowe-client-python-sdk.readthedocs.io/en/next/packages/packages.html) -**Note**: You can also install prerelease versions of the Zowe SDK from GitHub with the following command where "<tagName>" is the latest GitHub release tag: +**Note**: You can also install prerelease versions of the Zowe SDK from GitHub. Download the ZIP file from the [latest release](https://github.com/zowe/zowe-client-python-sdk/releases/latest), extract it, and run the following command: ``` -pip install -f https://github.com/zowe/zowe-client-python-sdk/releases/tag/ zowe>=1.0.0.dev0 +pip install --no-index --no-deps /*.whl ``` ## Requirements