Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
schuenke committed Sep 25, 2024
1 parent 54aaafa commit 5570fd7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/cd_testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Temporarily Update Version Number
- name: Edit version in pyproject.toml
run: |
# Get the current date in YYMMDD format
DATE=$(date +'%y%m%d')
sed -i "s/version = .*/version = \"0.$(date +'%y%m%d')\"/" pyproject.toml
# Update the version in pyproject.toml
sed -i "s/^version = \".*\"/version = \"0.${DATE}\"/" pyproject.toml
build:
name: Build distribution
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5570fd7

Please sign in to comment.