add tag_name input to Tag & Release Action

This commit is contained in:
Cina Saffary 2023-08-30 17:27:17 -05:00
parent 361844799a
commit ee3e2a9b37

View file

@ -41,6 +41,8 @@ jobs:
- name: Tag & Release Action - name: Tag & Release Action
if: steps.changesets.outputs.published == 'true' if: steps.changesets.outputs.published == 'true'
with:
tag_name: v${{ fromJSON(steps.changesets.outputs.publishedPackages)[0].version }}
uses: JasonEtco/build-and-tag-action@v2 uses: JasonEtco/build-and-tag-action@v2
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}