Skip to content

Commit cfd0940

Browse files
committed
replace tag in release body
1 parent 384c05c commit cfd0940

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v2
16+
17+
- name: Set env
18+
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
1619

1720
- name: Create Release
1821
id: create_release
@@ -24,6 +27,6 @@ jobs:
2427
release_name: Release ${{ github.ref }}
2528
body: |
2629
To download execute the following statement:
27-
pip install git+https://github.com/TrisNol/python-sample-package@${{ github.ref:10 }}
30+
pip install git+https://github.com/TrisNol/python-sample-package@$RELEASE_VERSION
2831
draft: false
2932
prerelease: false

0 commit comments

Comments
 (0)