Update release.yaml

This commit is contained in:
uazo 2022-01-17 17:17:38 +01:00 committed by GitHub
parent 1cecd2c62e
commit 3189860cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \