Skip to content

Commit

Permalink
use github.ref_name for pre-release bundle name
Browse files Browse the repository at this point in the history
  • Loading branch information
aryairani committed Mar 25, 2024
1 parent dba1c33 commit 3ec6c65
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3ec6c65

Please sign in to comment.