Remove local 'latest' branch as well

This commit is contained in:
Garrone Joseph 2020-05-16 23:09:30 +02:00 committed by GitHub
parent 95c255e499
commit f379a9b97e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,9 @@ jobs:
- uses: actions/checkout@v2
- name: Remove branch 'latest'
continue-on-error: true
run: git push origin :latest
run: |
git branch -d latest || true
git push origin :latest
- name: Create the new 'latest' branch
run: |
git branch latest