Skip to content

Commit

Permalink
Merge pull request #139 from zowe/update-release-workflow
Browse files Browse the repository at this point in the history
Create zip bundle for GitHub release
  • Loading branch information
t1m0thyj authored Sep 21, 2022
2 parents 4274a92 + 6bd0f4e commit e8f29ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/dev-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ pip install zowe.<subpackage>_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 "&lt;tagName&gt;" 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/<tagName> zowe>=1.0.0.dev0
pip install --no-index --no-deps <path where zip is extracted>/*.whl
```

## Requirements
Expand Down

0 comments on commit e8f29ae

Please sign in to comment.