Skip to content

Commit

Permalink
fixed yml
Browse files Browse the repository at this point in the history
  • Loading branch information
flowersandscumbags committed Sep 27, 2024
1 parent 1abacf5 commit 2eb52fb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
with:
python-version: '3.x'

- name: Install bump2version
run: pip install bump2version

- name: Bump version
run: bump2version minor --allow-dirty # Change 'patch' to 'minor' or 'major' if needed
run: bump2version minor --allow-dirty --tag

- name: Commit version bump
run: |
Expand All @@ -34,10 +36,13 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main

- name: Push tags
run: git push origin --tags

- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: |
dist/* # Path to any files you want to attach to the release (optional)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2eb52fb

Please sign in to comment.