deploy changes 2
Some checks failed
ci / build (push) Failing after 42s

This commit is contained in:
miwr 2025-04-09 15:09:00 +02:00
parent 44a137dd63
commit ed5b833f39

View file

@ -55,11 +55,11 @@ jobs:
new_patch=$((patch + 1))
new_version="$major.$minor.$new_patch"
echo "New version: $new_version"
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "GitHub Actions Bot"
git checkout -- package-lock.json package.json
# git checkout -- package-lock.json package.json
git pull
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
git add .
git commit -m "Automated update by GitHub Actions"
git push origin HEAD:${{ github.ref_name }}