Skip to content

Commit

Permalink
fix minor version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
rphovley committed Sep 21, 2024
1 parent 3ef72d2 commit b82e3e2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/bump_minor_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ on:
jobs:
bump_minor_version:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
fetch-depth: 0

- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -22,13 +24,11 @@ jobs:
- name: Bump version
run: |
npm version minor
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
git checkout main
npm version patch
- name: Push changes
run: |
git branch --all
git push origin main
git push --tags
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b82e3e2

Please sign in to comment.