add --allow-same-version flag to npx-cli version upgrade, add package-lock to git commit (#106)
This commit is contained in:
4
.github/workflows/pre-release.yml
vendored
4
.github/workflows/pre-release.yml
vendored
@@ -92,7 +92,7 @@ jobs:
|
||||
|
||||
# Update npx-cli package.json to match
|
||||
cd npx-cli
|
||||
npm version $new_version --no-git-tag-version
|
||||
npm version $new_version --no-git-tag-version --allow-same-version
|
||||
cd ..
|
||||
|
||||
cd backend && cargo set-version "$new_version"
|
||||
@@ -105,7 +105,7 @@ jobs:
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add package.json npx-cli/package.json backend/Cargo.toml
|
||||
git add package.json package-lock.json npx-cli/package.json backend/Cargo.toml
|
||||
git commit -m "chore: bump version to ${{ steps.version.outputs.new_version }}"
|
||||
git tag -a ${{ steps.version.outputs.new_tag }} -m "Release ${{ steps.version.outputs.new_tag }}"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user