Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/tagRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
description: 'Tag to be created along with release'
# Input has to be provided for the workflow to run
required: true
git_ref:
git_ref:
description: 'Git reference to create tag from, can be a commit hash or branch'
required: true

Expand All @@ -22,8 +22,12 @@ jobs:
runs-on: ubuntu-latest
name: Create Release
steps:
- uses: softprops/action-gh-release@v2 #This action will create the release with the params specified.
with:
tag_name: ${{ inputs.tag }}
target_commitish: ${{ inputs.git_ref }}

- name: Create Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ inputs.tag }} \
--repo ${{ github.repository }} \
--target ${{ inputs.git_ref }} \
--title "${{ inputs.tag }}" \
--generate-notes
Loading