Compare commits
1 Commits
master
...
deployed/v
Author | SHA1 | Date |
---|---|---|
Continuous Integration | 0a20d1ea35 |
|
@ -1,4 +1,4 @@
|
||||||
name: master-pushed
|
name: build-develop-branch
|
||||||
run-name: ${{ github.actor }} is learning GitHub Actions
|
run-name: ${{ github.actor }} is learning GitHub Actions
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -19,6 +19,6 @@ jobs:
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
- name: bump release
|
- name: bump release
|
||||||
run: |
|
run: |
|
||||||
export version=$(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1 | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')
|
../tea r ls -o=simple
|
||||||
|
version="$(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1 | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')"
|
||||||
../tea r c --note="this isrelease ${version}" --tag=${version} --title=${version} --target=${{ github.sha }}
|
../tea r c --note="this isrelease ${version}" --tag=${version} --title=${version} --target=${{ github.sha }}
|
||||||
echo ::set-env name=VERSION::$version
|
|
||||||
|
|
|
@ -31,4 +31,4 @@ jobs:
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed/${{ github.ref_name }} "
|
git commit -a -m "${{ github.ref_name }} -> refs/heads/deployed/${{ github.ref_name }} "
|
||||||
git push -f origin HEAD:refs/heads/deployed/${{ github.ref_name }}
|
git push origin HEAD:refs/heads/deployed/${{ github.ref_name }}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue