Skip to content

Commit

Permalink
actually upload to tagged release
Browse files Browse the repository at this point in the history
this needs a makeover
  • Loading branch information
majcosta committed Jan 7, 2025
1 parent 1976dee commit 0185b92
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ jobs:
all_languages="${{ inputs.build_all_languages }}"
assemble_release="${{ inputs.assemble_release }}"
repo="${{ github.repository }}"
is_tag="${{ startsWith(github.ref, 'refs/tags/v') }}"
if [ "$assemble_release" = "true" ] || { [ "$repo" = "1dot13/source" ] && [ "$is_tag" = "true" ]; }
if [ "$assemble_release" = "true" ] || [ "$is_tag" = "true" ]
then
full_release="true"
else
Expand Down Expand Up @@ -215,7 +214,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
working-directory: source
run: |
exit 0
gh release upload "$GITHUB_REF_NAME" ../dist/* --clobber
gh release upload "$GITHUB_REF" ../dist/* --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0185b92

Please sign in to comment.