Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-black-tea authored Mar 3, 2023
1 parent a70f6e5 commit ac08ca1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install wheel
- name: Get previous tag
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
- name: Replace version
run: ver=${{ steps.previoustag.outputs.tag }} && new_ver=${ver:1} && sed -i "s/__RELEASE_VERSION__/${new_ver}/g" src/linktools/version.py
- name: Build package
Expand Down

0 comments on commit ac08ca1

Please sign in to comment.