Skip to content

Commit

Permalink
update release file
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleib committed May 8, 2023
1 parent 7af523f commit 998f6ca
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/package-release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Release
on:
push:
tags:
- 'v*.*.*-rc.*'
workflow_call:
inputs:
GO_VERSION:
Expand Down Expand Up @@ -49,18 +52,19 @@ jobs:
release:
needs: test
permissions:
id-token: write # This is required for requesting the JWT
pull-requests: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create a release
id: create_release
uses: actions/create-release@v1
with:
release_name: "Release: ${{ inputs.RELEASE }}"
tag_name: ${{ inputs.RELEASE }}
draft: ${{ inputs.IS_DRAFT }}
prerelease: false
- name: Create Release
id: create_release
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.0.${{ github.run_number }}
release_name: Release v1.0.${{ github.run_number }}
draft: false
prerelease: false

0 comments on commit 998f6ca

Please sign in to comment.