Skip to content

Commit be8b0fd

Browse files
authored
Merge pull request #307 from github/jm_use_correct_vars
fix: use vars instead of env (not available at this point)
2 parents c70b26c + 6be0cec commit be8b0fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/major-version-updater.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ permissions:
1313
contents: write
1414
jobs:
1515
update_tag:
16-
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
16+
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.ref }} changes
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout Repo
2020
uses: actions/[email protected]
2121
with:
2222
fetch-tags: true
23-
ref: ${ TAG_NAME }
23+
ref: ${{ github.event.inputs.TAG_NAME || github.ref }}
2424
- name: version
2525
id: version
2626
run: |

0 commit comments

Comments
 (0)