This commit is contained in:
miwr 2025-04-08 12:51:49 +02:00
parent 5486e91f7f
commit 48157a0ea0
2 changed files with 3 additions and 8 deletions

View file

@ -46,8 +46,6 @@ jobs:
npm run lint
- name: Update version
run: |
user="giteaAdmin"
mail="gitea@local.domain"
chmod +x update-version.sh
./update-version.sh patch
- name: Build and push

View file

@ -16,12 +16,9 @@ echo "New version: $new_version"
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
# Optional: Commit and tag
echo ${email}
echo ${user}
git config --global user.email ${email}
git config --global user.name ${user}
echo ${email}
echo ${user}
git config --global user.email pipeline@email.com
git config --global user.name pipeline
git add package.json
echo "adding succeeded"
git commit -m "Bump version to $new_version"