Skip to content

Commit

Permalink
CI: actually fix pre-release flag resets
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Jun 27, 2021
1 parent a817f43 commit e79c7d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ jobs:
description: |
The builds produced by the continuous integration; only intended for testing,
not for production usage. No workability guarantees whatsoever.
version: '${{ needs.Prepare.outputs.version }}'
version: ${{ needs.Prepare.outputs.version }}
republish: true

- name: Upload artefact to GitHub Releases (tag builds)
Expand All @@ -300,8 +300,8 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ${{ env.FILE_NAME }}
# It needs to false-prerelease things but that's better than false-release them
prerelease: contains(${{ needs.Prepare.outputs.version }}, '-')
# It tends to false-prerelease things but that's better than false-release them
prerelease: ${{ contains(needs.Prepare.outputs.version, '-') }}
allowUpdates: true
omitNameDuringUpdate: true
omitBodyDuringUpdate: true

0 comments on commit e79c7d4

Please sign in to comment.