Skip to content

Commit 91d929c

Browse files
Don’t commit and push package.json version updates during release build.
1 parent e26378d commit 91d929c

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,6 @@ jobs:
174174
run: |
175175
yarn version --non-interactive --no-git-tag-version --new-version ${{ steps.prepare_release.outputs.version }}
176176
177-
- name: Commit & Push updated version
178-
run: |
179-
git add package.json
180-
if [[ -n "$(git status --porcelain)" ]]; then
181-
git config --local user.email "maplibre@noreply.maplibre.org"
182-
git config --local user.name "MapLibre"
183-
git commit -m "Version Bump"
184-
git push origin HEAD:main
185-
else
186-
echo "no changes";
187-
fi
188177
- name: Publish NPM package
189178
run: |
190179
yarn publish --non-interactive

0 commit comments

Comments
 (0)