Skip to content

Commit

Permalink
allow repush rolling release
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencheng committed Jul 18, 2021
1 parent ee36829 commit 164c3e8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,24 @@ tasks:
- v
do: buildDistro

- func: shell
desc: |
delete the remote tag latest
create latest release tag
do:
- git push --delete origin latest
- git tag -d latest
- git tag latest
- git push origin refs/tags/latest
flags:
- ignoreError

- func: shell
desc: |
create rolling release tag
do:
- 'git push --delete origin rolling-{{now|date "20060102"}}'
- 'git tag -d rolling-{{now|date "20060102"}}'
- 'git tag rolling-{{now|date "20060102"}}'
- 'git push origin refs/tags/rolling-{{now|date "20060102"}}'
flags:
Expand Down

0 comments on commit 164c3e8

Please sign in to comment.