From a2381b02f90052766e3cce73e898fab810e841f0 Mon Sep 17 00:00:00 2001 From: Eric Lemieux Date: Tue, 21 Apr 2020 18:15:07 -0400 Subject: [PATCH] Getting the actual tag name, rather than the ref --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c94da5a..054a54b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,12 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Get the tag version + run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//} + - name: get commit message run: | - echo ::set-env name=message::$(git tag -l --format='%(contents)' ${{ github.ref }}) + echo ::set-env name=message::$(git tag -l --format='%(contents)' ${{ env.tag }}) - name: Create Release id: create_release