Skip to content

Commit

Permalink
ci: unchanged package.json is uploaded to release
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Apr 24, 2024
1 parent 0c46b85 commit aaf1a94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@ jobs:
path: build/${{ env.PKG_NAME }}-${{ env.VERSION }}.zip
# endregion vpm release

- name: Restore package.json
run: git restore --staged --worktree package.json

# region docs
- name: Update .docs/config.toml
run: sed -i'.bak' -e "s/(SNAPSHOT)/($VERSION)/" .docs/config.toml && rm .docs/config.toml.bak
Expand Down Expand Up @@ -235,6 +232,9 @@ jobs:
build/website.zip \
"package.json" \
- name: Restore package.json
run: git restore --staged --worktree package.json

- name: prepare next release & push
if: inputs.publish && !fromJSON(env.PRERELEASE)
run: |
Expand Down

0 comments on commit aaf1a94

Please sign in to comment.