Skip to content

Commit f189ab2

Browse files
committed
another way to write version
1 parent bd29dec commit f189ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
1616
- name: Replace version
1717
run: |
18-
echo Changing version in setup.py to {{ steps.get_version.outputs.VERSION }}
19-
sed -i 's/VERSION = ".*"/VERSION = "{{ steps.get_version.outputs.VERSION }}"/g' setup.py
18+
echo Changing version in setup.py to ${{ steps.get_version.outputs.VERSION
19+
sed -i 's/VERSION = ".*"/VERSION = "${{ steps.get_version.outputs.VERSION }}"/g' setup.py
2020
- name: Set up Python 3.9
2121
uses: actions/setup-python@v1
2222
with:

0 commit comments

Comments
 (0)