Skip to content

Commit

Permalink
ci(release): include version key post-modification
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman committed May 29, 2024
1 parent 3427a42 commit c6a05e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- name: Add unique post-release segment to publish to TestPyPI
if: "!startsWith(github.ref, 'refs/tags/')" # only modify version when publishing to TestPyPI
run: sed -i "s/^__version__ = \"\([0-9]\+\.[0-9]\+\.[0-9]\+\)\"$/\1.post$(date +%s)/" ibis_ml/__init__.py
run: sed -i "s/^\(__version__ = \"[0-9]\+\.[0-9]\+\.[0-9]\+\)\"$/\1.post$(date +%s)\"/" ibis_ml/__init__.py
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit c6a05e2

Please sign in to comment.