Skip to content

Commit

Permalink
Silly mistake
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Alok <[email protected]>
  • Loading branch information
MrAdityaAlok committed Jan 6, 2025
1 parent 63f554e commit 2f235bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: ${{ needs.set-env-variables.outputs.RELEASE_TAG }}
run: |
local prerelese=""
prerelease=""
if [[ "${RELEASE_TAG/+test/}" != "$RELEASE_TAG" ]]; then
prerelese="--prerelease"
prerelease="--prerelease"
fi
if gh release view "${RELEASE_TAG}"; then
echo "Updating release '${RELEASE_TAG}' ..."
gh release upload "${RELEASE_TAG}" ./ghc-*/*.xz --clobber
else
echo "Creating release '${RELEASE_TAG}' ..."
gh release create "${RELEASE_TAG}" ./ghc-*/*.xz $prerelese
gh release create "${RELEASE_TAG}" ./ghc-*/*.xz $prerelease
fi

0 comments on commit 2f235bc

Please sign in to comment.