Skip to content

Commit

Permalink
Admin/version bump (#394)
Browse files Browse the repository at this point in the history
* [create-pull-request] automated change

* Bump version: 0.1.7 → 0.1.8

* fix bumpversion mistakes

* clean up publish code

* precommit

---------

Co-authored-by: benjijamorris <[email protected]>
Co-authored-by: Benjamin Morris <[email protected]>
  • Loading branch information
3 people authored Jul 1, 2024
1 parent ac8175a commit 3fecc1b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,15 @@ jobs:
environment: release
permissions:
id-token: write
contents: write # Add this permission to allow pushing the version bump
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Setup PDM
uses: pdm-project/setup-pdm@v2
with:
python-version: "3.10"

- name: Install bumpversion
run: pip install bumpversion

- name: Configure Git
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Apply bumpversion minor
run: |
bumpversion minor
git push
git push --tags
- name: Build package
run: pdm build

Expand Down

0 comments on commit 3fecc1b

Please sign in to comment.