remove latest release
This commit is contained in:
parent
54046c883c
commit
032d3ded50
1 changed files with 8 additions and 8 deletions
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
|
@ -11,10 +11,14 @@ jobs:
|
|||
contents: write # release changes require contents write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# - name: remove last latest release
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# run: gh release delete latest
|
||||
- name: create versioned release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}"
|
||||
- name: remove last latest release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release delete latest
|
||||
- name: create latest release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
@ -41,10 +45,6 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release upload ${{ github.run_number }} dist/
|
||||
- name: create versioned release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}"
|
||||
- name: Upload Release Asset
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue