add concurrency limit to go-releaser

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
Lyndon-Li
2026-04-27 17:15:52 +08:00
parent 065926d6a0
commit 16ca7739ce

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