From fd3adb19e36ad5f1a9fa48306acd838980b5a537 Mon Sep 17 00:00:00 2001 From: Anastasiia Solop <35258279+anastasiya1155@users.noreply.github.com> Date: Wed, 9 Jul 2025 11:05:11 +0200 Subject: [PATCH] add --allow-same-version flag to npx-cli version upgrade, add package-lock to git commit (#106) --- .github/workflows/pre-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 8630bb49..6a1c64c2 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -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