Skip to content

Commit

Permalink
ci: Fix make_release.yml to proper detect release, attempt 3 (#1127)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
	- Updated workflow to improve release process efficiency and accuracy.


<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Czaki authored Jul 6, 2024
1 parent 8264a6a commit 82a9294
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/make_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ jobs:
echo "tag=${TAG}" >> "$GITHUB_ENV"
shell: bash

- name: check env
run: |
echo "${{ env.tag }}"
shell: bash

- name: Create Release
uses: "softprops/action-gh-release@v2"
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
Expand All @@ -117,7 +112,7 @@ jobs:
name: ${{ env.tag }}
body: ${{ steps.release_notes.outputs.contents }}
draft: false
prerelease: ${{ contains(env.tag, 'rc') || contains(env.tag, 'rc') || contains(env.tag, 'rc')}}
prerelease: ${{ contains(env.tag, 'rc') || contains(env.tag, 'a') || contains(env.tag, 'b')}}
files: |
dist/*
pyinstaller/*
Expand Down

0 comments on commit 82a9294

Please sign in to comment.