Skip to content

Commit 7a044ec

Browse files
committed
update pipeline
1 parent 506e46e commit 7a044ec

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set env
2121
run: |
2222
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
23-
if [${{ env.RELEASE_VERSION }} = "develop"]; then
23+
if [${ env.RELEASE_VERSION } = "develop"]; then
2424
echo "PRERELEASE=true" >> $GITHUB_ENV
2525
else
2626
echo "PRERELEASE=false" >> $GITHUB_ENV
@@ -32,8 +32,10 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
3434
with:
35-
tag_name: ${{ github.ref }}
36-
release_name: Release ${{ github.ref }}
35+
# tag_name: ${{ github.ref }}
36+
# release_name: Release ${{ github.ref }}
37+
tag_name: ${{ env.RELEASE_VERSION }}
38+
release_name: ${{ env.RELEASE_VERSION }}
3739
body: |
3840
To download execute the following statement:
3941
pip install git+https://github.com/TrisNol/python-sample-package@${{ env.RELEASE_VERSION }}

0 commit comments

Comments
 (0)