Skip to content

Commit

Permalink
use sed to replace version number
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiShi1313 committed Nov 25, 2023
1 parent d86d80b commit c74d0a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-gcsim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
- name: Add git safe directory
run: git config --global --add safe.directory /github/workspace

- name: Update version
run: sed -i 's/^version = .*/version = "'"${{ needs.check.outputs.version }}"'"/' pyproject.toml

# Upload to PyPI
- name: Build and publish to pypi
uses: JRubics/[email protected]
Expand Down

0 comments on commit c74d0a3

Please sign in to comment.