Compare commits

...
Author SHA1 Message Date
JMR-dev 14bf9f3e56 Workflow fix to git sha 2026-05-23 17:57:50 -05:00
+3 -2
View File
@@ -7,7 +7,7 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
tag: tag:
description: 'Tag to release (e.g. v0.1.0). The tag must already exist.' description: 'Tag to release (e.g. v0.1.0).'
required: true required: true
type: string type: string
@@ -22,7 +22,7 @@ jobs:
id: ref id: ref
run: | run: |
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo "ref=${{ inputs.tag }}" >> "$GITHUB_OUTPUT" echo "ref=${{ github.ref }}" >> "$GITHUB_OUTPUT"
echo "tag=${{ inputs.tag }}" >> "$GITHUB_OUTPUT" echo "tag=${{ inputs.tag }}" >> "$GITHUB_OUTPUT"
else else
echo "ref=${{ github.ref }}" >> "$GITHUB_OUTPUT" echo "ref=${{ github.ref }}" >> "$GITHUB_OUTPUT"
@@ -56,6 +56,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.ref.outputs.tag }} tag_name: ${{ steps.ref.outputs.tag }}
name: ${{ steps.ref.outputs.tag }} name: ${{ steps.ref.outputs.tag }}
target_commitish: ${{ github.sha }}
generate_release_notes: true generate_release_notes: true
fail_on_unmatched_files: true fail_on_unmatched_files: true
files: | files: |