Skip to content

Commit

Permalink
Tag the actual commit given in the tagging action (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
nb1701 committed Apr 3, 2024
1 parent ab5f091 commit 19325c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
commit_sha:
description: 'Commit SHA'
required: true
default: 'HEAD'
default: 'main'

version:
description: 'The version for this release, matching the CiviForm release version, e.g. v1.2.3'
Expand All @@ -23,5 +23,5 @@ jobs:
run: |
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git tag ${{ github.event.inputs.version }} --message "${{ github.event.inputs.version }}"
git tag ${{ github.event.inputs.version }} ${{ github.event.inputs.commit_sha }} --message "${{ github.event.inputs.version }}"
git push origin ${{ github.event.inputs.version }}

0 comments on commit 19325c0

Please sign in to comment.