chore(release): remove unused brew id

This commit is contained in:
Prad Nukala
2024-09-30 22:42:15 -04:00
parent 4401b089e1
commit aac2a981bc
2 changed files with 14 additions and 1 deletions
-1
View File
@@ -82,7 +82,6 @@ brews:
- name: sonr - name: sonr
ids: ids:
- default - default
- motr
commit_author: commit_author:
name: goreleaserbot name: goreleaserbot
email: bot@goreleaser.com email: bot@goreleaser.com
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
set -e
# Get the current version from most recent git tag
export VERSION=$(git describe --tags --abbrev=0)
# Check if the version is a valid semantic version
if ! [[ $VERSION =~ ^v?[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Invalid version format: $VERSION"
exit 1
fi
# Check if the version has already been bumped