Skip to content

Commit

Permalink
Swap steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Link- committed Oct 14, 2023
1 parent 0da2e41 commit ce4729c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,30 @@ jobs:
run: |
npm ci
- name: Build package
- name: Update version
run: |
npm run build
npm version ${{ github.event.inputs.version }} --allow-same-version
- name: Commit new build
- name: Commit package.json
uses: EndBug/add-and-commit@a3adef035a1381dcf888c90b847240e2ddb9e008
with:
author_name: Link-
author_email: [email protected]
message: 'Update build'
add: 'bin/starred_search'
message: 'Update version'
add: 'package.json'
push: false

- name: Update version
- name: Build package
run: |
npm version ${{ github.event.inputs.version }} --allow-same-version
npm run build
- name: Commit package.json
- name: Commit new build
uses: EndBug/add-and-commit@a3adef035a1381dcf888c90b847240e2ddb9e008
with:
author_name: Link-
author_email: [email protected]
message: 'Update version'
add: 'package.json'
message: 'Update build'
add: 'bin/starred_search'
push: false

- name: Create PR
Expand Down

0 comments on commit ce4729c

Please sign in to comment.