Skip to content

Commit

Permalink
Update dev-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa-aadlv authored Dec 4, 2024
1 parent 2853594 commit 411f91c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
with:
fetch-depth: 0

- name: Check version format
run: |
version="$INPUT_VERSION"
# - name: Check version format
# run: |
# version="$INPUT_VERSION"

# Check if version is in format number.number.number.dev
if ! [[ $version =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?\.dev[0-9]+$ ]]; then
echo "Invalid version format. It should be in format 'number.number.number.dev'."
exit 1
fi
env:
INPUT_VERSION: ${{ github.event.inputs.version }}
# # Check if version is in format number.number.number.dev
# if ! [[ $version =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?\.dev[0-9]+$ ]]; then
# echo "Invalid version format. It should be in format 'number.number.number.dev'."
# exit 1
# fi
# env:
# INPUT_VERSION: ${{ github.event.inputs.version }}

- name: Check-out base branch
run: |
Expand Down

0 comments on commit 411f91c

Please sign in to comment.