Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wording
  • Loading branch information
kevinjqliu committed Nov 27, 2024
commit 465d962dd9c6c538ebddf889cb02b97063b0078f
4 changes: 2 additions & 2 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
name: Validate version input
runs-on: ubuntu-latest
steps:
- name: Check version format
- name: Validate version input
if: ${{ github.event.inputs.version != 'main' && !contains(github.event.inputs.version, 'rc') }}
Copy link
Contributor Author

@kevinjqliu kevinjqliu Nov 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to do this since we run on different os environments with different default shells

run: |
echo "Error: Invalid version format. You provided: '${{ github.event.inputs.version }}'"
echo "Allowed formats:"
echo " - 'main'"
echo " - Semantic version with 'rc' suffix (e.g., 0.8.0rc1, 0.8.0rc2)"
echo " - version string containing 'rc' (e.g., 0.8.0rc1, 0.8.0rc2)"
exit 1

build_wheels:
Expand Down