Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Jun 20, 2024
1 parent 2e71bec commit 378d421
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,16 @@ jobs:
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*
- name: Get if prerelease
shell: bash
id: extract_prerelease
run: |
if cat VERSION.txt | grep -q "rc"; then
echo "##[set-output name=prerelease;]$(echo true)"
else
echo "##[set-output name=prerelease;]$(echo false)"
fi
- name: Create a Release
uses: softprops/action-gh-release@v2
with:
prerelease: ${{steps.extract_prerelease.outputs.prerelease}}

0 comments on commit 378d421

Please sign in to comment.