Skip to content

Commit

Permalink
Check version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Feb 26, 2024
1 parent d5591cd commit 08b6fc0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
pre_release_tasks:
runs-on: ubuntu-latest
steps:
- name: Validate input
run: |
if [[ ${{ inputs.version }} = v* ]]
then
echo "::error title=Invalid Version::Invalid version number given"
exit 1
fi
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down

0 comments on commit 08b6fc0

Please sign in to comment.