diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 028c3c8..ed57886 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: branches: - '*' tags: - - 'v*' + - '*' jobs: diff --git a/sbdi/make-release.sh b/sbdi/make-release.sh index 9b01756..a72d5db 100755 --- a/sbdi/make-release.sh +++ b/sbdi/make-release.sh @@ -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