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
|
contents: write # release changes require contents write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - name: remove last latest release
|
- name: create versioned release
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: gh release delete latest
|
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
|
- name: create latest release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
@ -41,10 +45,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: gh release upload ${{ github.run_number }} dist/
|
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
|
- name: Upload Release Asset
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue