diff --git a/misc/make-release.sh b/misc/make-release.sh index 692c91d..e0f68bd 100755 --- a/misc/make-release.sh +++ b/misc/make-release.sh @@ -48,4 +48,5 @@ git commit -S -m "Release ${VERSION} 🥳" ${vfile} Cargo.lock || true git tag -s ${VERSION} -m "Releasing version ${VERSION}" git push --tags origin ${VERSION} git push origin main --no-verify +[[ -n ${NO_PUBLISH:-""} ]] && exit env CARGO_REGISTRY_TOKEN=$(pass show cargo/token) cargo publish