2525 - name : Set version from tag
2626 env :
2727 GITHUB_REF : ${{ github.ref }}
28- run : npm version "${GITHUB_REF#refs/tags/v}" --no-git-tag-version
28+ run : npm version "${GITHUB_REF#refs/tags/v}" --no-git-tag-version --allow-same-version
2929
3030 - name : Build
3131 run : npm run build
8080 GITHUB_REF : ${{ github.ref }}
8181 run : |
8282 VERSION=$(echo "${GITHUB_REF#refs/tags/v}" | sed 's/-.*//')
83- npm version "$VERSION" --no-git-tag-version
83+ npm version "$VERSION" --no-git-tag-version --allow-same-version
8484
8585 - name : Package (Mac App Store)
8686 env :
@@ -114,7 +114,7 @@ jobs:
114114 run : npm ci
115115
116116 - name : Set version from tag
117- run : npm version "${GITHUB_REF#refs/tags/v}" --no-git-tag-version
117+ run : npm version "${GITHUB_REF#refs/tags/v}" --no-git-tag-version --allow-same-version
118118
119119 - name : Build
120120 run : npm run build
@@ -146,7 +146,7 @@ jobs:
146146 GITHUB_REF : ${{ github.ref }}
147147 run : |
148148 if ($env:GITHUB_REF -match 'refs/tags/v(.+)') {
149- npm version $matches[1] --no-git-tag-version
149+ npm version $matches[1] --no-git-tag-version --allow-same-version
150150 }
151151
152152 - name : Build
@@ -163,7 +163,7 @@ jobs:
163163 run : |
164164 if ($env:GITHUB_REF -match 'refs/tags/v(.+)') {
165165 $version = $matches[1] -replace '-.*', ''
166- npm version $version --no-git-tag-version
166+ npm version $version --no-git-tag-version --allow-same-version
167167 }
168168
169169 - name : Package (Windows App Store)
0 commit comments