File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 }}
You can’t perform that action at this time.
0 commit comments