From cc5f387da2e7a8c88da35dced7e1a4e45c298cf8 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Mon, 5 Apr 2021 19:27:42 +0900 Subject: [PATCH] fix(actions): fix releasing https://github.com/ybiquitous/npm-audit-fix-action/runs/2268994713 --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 159f52f1..44328659 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,9 @@ jobs: - run: git config --local user.name '${{ github.actor }}' - run: git config --local user.email '${{ github.actor }}@users.noreply.github.com' - run: npm run release - - run: echo "::set-output name=tag::$(git describe --abbrev=0)" + - run: | + tag=$(git describe --abbrev=0) + echo ::set-output name=tag::${tag} id: get-tag - run: git push --follow-tags - run: git tag --force --annotate --message 'Release v2' v2