Skip to content

Commit

Permalink
Fix release version
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Sep 7, 2024
1 parent 5a31e1a commit 0aa7029
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Create Github Release

on: workflow_call
on:
workflow_call:
inputs:
version:
required: true
type: string

jobs:
release:
Expand Down Expand Up @@ -31,8 +36,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: "v${{ needs.build-python-package.outputs.version }}"
release_name: "Release v${{ needs.build-python-package.outputs.version }}"
tag_name: "v${{ inputs.version }}"
release_name: "Release v${{ inputs.version }}"
body: |
Release ${{ needs.build-python-package.outputs.version }}
draft: false
Expand Down

0 comments on commit 0aa7029

Please sign in to comment.