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
|
npm run lint
|
||||||
- name: Update version
|
- name: Update version
|
||||||
run: |
|
run: |
|
||||||
user="giteaAdmin"
|
|
||||||
mail="gitea@local.domain"
|
|
||||||
chmod +x update-version.sh
|
chmod +x update-version.sh
|
||||||
./update-version.sh patch
|
./update-version.sh patch
|
||||||
- name: Build and push
|
- 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
|
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
|
||||||
|
|
||||||
# Optional: Commit and tag
|
# Optional: Commit and tag
|
||||||
echo ${email}
|
|
||||||
echo ${user}
|
git config --global user.email pipeline@email.com
|
||||||
git config --global user.email ${email}
|
git config --global user.name pipeline
|
||||||
git config --global user.name ${user}
|
|
||||||
echo ${email}
|
|
||||||
echo ${user}
|
|
||||||
git add package.json
|
git add package.json
|
||||||
echo "adding succeeded"
|
echo "adding succeeded"
|
||||||
git commit -m "Bump version to $new_version"
|
git commit -m "Bump version to $new_version"
|
||||||
|
|
Loading…
Reference in a new issue