[release] Release version 2.7.6-signed #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- 'v*-signed' | |
jobs: | |
release: | |
name: Update release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Get version | |
run: | | |
BRANCH=${GITHUB_REF/refs\/heads\//} | |
echo TAG=${BRANCH/-signed/} >> ${GITHUB_ENV} | |
- name: Update release assets | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh release upload ${TAG} --clobber wimboot src/wimboot.i386 | |
- name: Clear prerelease flag | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh release edit ${TAG} --prerelease=false |