Skip to content

Commit

Permalink
fix: use ref name
Browse files Browse the repository at this point in the history
  • Loading branch information
macjuul committed Aug 10, 2023
1 parent ed2c0f8 commit 5f09bd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ jobs:
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "v${{ github.ref }}"
automatic_release_tag: "v${{ github.ref_name }}"
prerelease: false
draft: true
title: "v${{ github.ref }}"
title: "v${{ github.ref_name }}"
files: |
./surrealist-v${{ needs.version.outputs.version }}-nightly-darwin.dmg
./surrealist-v${{ needs.version.outputs.version }}-nightly-linux.AppImage
Expand All @@ -114,4 +114,4 @@ jobs:
# - name: Publish web app (Linux)
# uses: actions/deploy-pages@v1
# if: contains(github.ref, 'nightly')
# if: contains(github.ref_name, 'nightly')

0 comments on commit 5f09bd5

Please sign in to comment.