From 3ec6c65300d525d98d073736d7f48c3934bd7c12 Mon Sep 17 00:00:00 2001 From: Arya Irani Date: Mon, 25 Mar 2024 15:56:45 -0600 Subject: [PATCH] use github.ref_name for pre-release bundle name --- .github/workflows/pre-release.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 0ec0184248..490b252f41 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -35,17 +35,12 @@ jobs: with: path: /tmp/ucm - - name: set up release name - run: | - tag_name=$(echo "${{ github.ref }}" | awk -F'/' '{print $NF}') - echo "tag_name=$tag_name" >> $GITHUB_ENV - - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: ${{ env.tag_name }}-build + automatic_release_tag: ${{ github.ref_name }}-build prerelease: true - title: Development Build + title: Development Build (${{ github.ref_name }}) files: | /tmp/ucm/**/ucm-*.tar.gz /tmp/ucm/**/ucm-*.zip