Skip to content

Commit

Permalink
Remove v prefix from tags
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Aug 25, 2023
1 parent 01807a8 commit 661c24b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- '*'
tags:
- 'v*'
- '*'

jobs:

Expand Down
4 changes: 2 additions & 2 deletions sbdi/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ else
fi

# Validate the new version format (assuming it follows semantic versioning)
if ! [[ "$new_version" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Invalid version format. Please use semantic versioning (e.g., v1.2.3)."
if ! [[ "$new_version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Invalid version format. Please use semantic versioning (e.g., 1.2.3)."
exit 1
fi

Expand Down

0 comments on commit 661c24b

Please sign in to comment.