pipeline
This commit is contained in:
parent
5486e91f7f
commit
48157a0ea0
2 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue