Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Jun 5, 2023
1 parent 58b99e5 commit 39e5157
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/publish_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ fi

VERSION="$(cat VERSION)"

echo "Publishing version v$(VERSION)..."
echo "Publishing version v$VERSION..."

make version
git add --all
git commit -m "v$(VERSION)"
git tag v$(VERSION)
git push origin main v$(VERSION)
git commit -m "v$VERSION"
git tag v$VERSION
git push origin main v$VERSION

if grep -qE "alpha|beta" VERSION; then
gh release create v$(VERSION) --title=v$(VERSION) --prerelease --notes=""
gh release create v$VERSION --title=v$VERSION --prerelease --notes=""
else
gh release create v$(VERSION) --title=v$(VERSION)
gh release create v$VERSION --title=v$VERSION
fi


echo "✅ Published! version v$(VERSION)"
echo "✅ Published! version v$VERSION"

0 comments on commit 39e5157

Please sign in to comment.