Skip to content

Commit

Permalink
Try to get tag
Browse files Browse the repository at this point in the history
  • Loading branch information
xeonvs committed Feb 9, 2024
1 parent cb86016 commit 2099ffc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/manual-republishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: Get branch name & tag
id: branch_name
run: |
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
echo "SOURCE_NAME=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
echo "SOURCE_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Install dependencies
run: |
Expand All @@ -51,9 +51,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
tag_name: ${{ steps.branch_name.outputs.SOURCE_TAG }}
release_name: ${{ steps.branch_name.outputs.SOURCE_TAG }}
draft: true
prerelease: false

- name: Extract Asset Name
Expand Down

0 comments on commit 2099ffc

Please sign in to comment.