Update release.yaml
This commit is contained in:
parent
1cecd2c62e
commit
3189860cc8
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@ -1,6 +1,7 @@
|
|||||||
name: Release Bromite CI
|
name: Release Bromite CI
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
repo: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -54,7 +55,7 @@ jobs:
|
|||||||
wget https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_linux_amd64.tar.gz
|
wget https://github.com/cli/cli/releases/download/v2.4.0/gh_2.4.0_linux_amd64.tar.gz
|
||||||
tar xfz gh_2.4.0_linux_amd64.tar.gz
|
tar xfz gh_2.4.0_linux_amd64.tar.gz
|
||||||
|
|
||||||
echo $GITHUB_PERSONAL_TOKEN | gh_2.4.0_linux_amd64/bin/gh auth login --with-token
|
echo $GITHUB_TOKEN | gh_2.4.0_linux_amd64/bin/gh auth login --with-token
|
||||||
|
|
||||||
VERSION=v$(cat ${{ env.OUTPUTFILE }}/RELEASE)-${{ github.event.inputs.build }}
|
VERSION=v$(cat ${{ env.OUTPUTFILE }}/RELEASE)-${{ github.event.inputs.build }}
|
||||||
gh_2.4.0_linux_amd64/bin/gh release create $VERSION \
|
gh_2.4.0_linux_amd64/bin/gh release create $VERSION \
|
||||||
|
Loading…
Reference in New Issue
Block a user