Skip to content

Commit

Permalink
Merge pull request #4 from FernanOrtega/dev
Browse files Browse the repository at this point in the history
v0.1b3(cd workflow hotfix)
  • Loading branch information
FernanOrtega authored Mar 26, 2020
2 parents c0e091a + eed3302 commit 7759b21
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cd-pr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:

# Get version number
- name: Get version number
id: get_version_number
run: echo "::set-env name=PACKAGE_VERSION::$(grep -oP "VERSION = \"\K\d\.\d[.ba\d]+" setup.py)"

# Build wheel and publish it
Expand Down Expand Up @@ -78,8 +79,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ PACKAGE_VERSION }}
release_name: SentiLeak - v${{ PACKAGE_VERSION }}
tag_name: ${{ steps.get_version_number.envs.PACKAGE_VERSION }}
release_name: SentiLeak - v${{ steps.get_version_number.envs.PACKAGE_VERSION }}
body: |
TODO
draft: true
Expand All @@ -91,6 +92,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/SentiLeak-${{ PACKAGE_VERSION }}-py3-none-any.whl
asset_name: SentiLeak-${{ PACKAGE_VERSION }}-py3-none-any.whl
asset_path: ./dist/SentiLeak-${{ steps.get_version_number.envs.PACKAGE_VERSION }}-py3-none-any.whl
asset_name: SentiLeak-${{ steps.get_version_number.envs.PACKAGE_VERSION }}-py3-none-any.whl
asset_content_type: application/zip

0 comments on commit 7759b21

Please sign in to comment.