From b100a0797f38a401638141317fc4f6ede1085181 Mon Sep 17 00:00:00 2001 From: Ryosuke Ito Date: Wed, 10 Aug 2022 13:52:01 +0900 Subject: [PATCH] Substitute refs/tags/* to * --- .github/workflows/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 7d5c978..c33a568 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -20,10 +20,10 @@ jobs: run: make installcheck | xcpretty - run: man -P cat 1 xcnew - name: Create release - run: gh release create '${{ github.ref }}' --generate-notes + run: gh release create "${GITHUB_REF#refs/*/}" --generate-notes env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload release asset - run: gh release upload '${{ github.ref }}' xcnew.pkg + run: gh release upload "${GITHUB_REF#refs/*/}" xcnew.pkg env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}