Skip to content

Commit

Permalink
test bump version CI
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Le Vu Long <[email protected]>
  • Loading branch information
longngn committed Nov 16, 2023
1 parent d4fa67e commit cf9a93f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Bump Version on Merge
on:
push:
branches:
- minswap-11
- csl-action-pump-ver # TODO: reverse

jobs:
bump_version:
Expand All @@ -12,10 +12,8 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: minswap-11

- name: Calculate Next Version
- name: Calculate next Version
run: |
# Get the current version from the subdirectory's package.json
current_version=$(jq -r '.version' package.json)
Expand All @@ -31,3 +29,5 @@ jobs:
- name: Bump Version and Publish
run: |
./scripts/pump-version.sh ${{ env.NEXT_VERSION }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit cf9a93f

Please sign in to comment.