Merge branch 'main' into fix-go-releaser-upload-issue

This commit is contained in:
lyndon-li
2026-04-27 22:50:02 +08:00
committed by GitHub

View File

@@ -51,11 +51,13 @@ if [[ "${PUBLISH:-}" != "TRUE" ]]; then
echo "Not set to publish"
goreleaser release \
--clean \
--parallelism 2 \
--release-notes="${RELEASE_NOTES_FILE}" \
--snapshot # Generate an unversioned snapshot release, skipping all validations and without publishing any artifacts (implies --skip-publish, --skip-announce and --skip-validate)
else
echo "Getting ready to publish"
goreleaser release \
--clean \
--parallelism 2 \
--release-notes="${RELEASE_NOTES_FILE}"
fi