Skip to content

Commit 4fa21ae

Browse files
ci(azure): allow same version in npm version command
Add --allow-same-version flag to prevent npm version from failing when the version is already at the target version. Co-Authored-By: Hagicode <noreply@hagicode.com>
1 parent 53fa1c1 commit 4fa21ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-azure-static-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
echo "version=$version" >> "$GITHUB_OUTPUT"
5656
5757
- name: Align package version for release build
58-
run: npm version "${{ steps.version.outputs.version }}" --no-git-tag-version
58+
run: npm version "${{ steps.version.outputs.version }}" --no-git-tag-version --allow-same-version
5959

6060
- name: Install dependencies
6161
run: npm ci

0 commit comments

Comments
 (0)