From 7a7406c2f60eabed8415497b82f5fb80cf0b79f5 Mon Sep 17 00:00:00 2001 From: Matthias Fax Date: Sun, 30 Aug 2020 13:02:07 +0200 Subject: [PATCH] build(publish): use tag_name instead of ref --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee3cde1..5139b00 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -80,7 +80,7 @@ jobs: env: CI: true - name: publish - run: yarn publish --new-version "${{ github.ref }}" + run: yarn publish --new-version "${{ github.event.release.tag_name }}" env: CI: true NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -117,7 +117,7 @@ jobs: env: CI: true - name: publish - run: yarn publish --new-version "${{ github.ref }}" + run: yarn publish --new-version "${{ github.event.release.tag_name }}" env: CI: true NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}