Skip to content

Commit

Permalink
Merge pull request #15 from thelastfantasy/v1.3.0-timecode-converter
Browse files Browse the repository at this point in the history
v1.3.0
  • Loading branch information
thelastfantasy authored Nov 1, 2024
2 parents 119b2d3 + 8f5e8aa commit 44b4346
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:
id: validate_title
run: |
branch_name="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
branch_name=$(echo "$branch_name" | tr -d '[:space:]')
echo "Branch name: $branch_name"
if [[ "$branch_name" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9-_]+)?$ ]]; then
if [[ "$branch_name" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9_-.]+)?$ ]]; then
version=$(echo "$branch_name" | grep -oE '^v[0-9]+\.[0-9]+\.[0-9]+')
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "Matched version: $version"
Expand Down

0 comments on commit 44b4346

Please sign in to comment.