diff options
author | 2021-10-28 17:06:42 -0700 | |
---|---|---|
committer | 2021-10-28 17:06:42 -0700 | |
commit | 1fd426432ea03a8e7ac11e512702883b3db0c9ef (patch) | |
tree | 0922968ab6c802a9172b988ad20ed96068123d3c | |
parent | 97c43ef787b0a6176dc3e832160d043b56baae34 (diff) | |
download | bun-1fd426432ea03a8e7ac11e512702883b3db0c9ef.tar.gz bun-1fd426432ea03a8e7ac11e512702883b3db0c9ef.tar.zst bun-1fd426432ea03a8e7ac11e512702883b3db0c9ef.zip |
Fix spacing, add check that the version matches before we push
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | src/cli/upgrade_command.zig | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -527,7 +527,10 @@ release-bin-generate: release-bin-generate-copy release-bin-generate-zip release-bin-codesign: xcrun notarytool submit --wait $(BUN_DEPLOY_ZIP) --keychain-profile "bun" -release-bin-without-push: test-all release-bin-generate release-bin-codesign +release-bin-check: + test $(shell eval $(BUN_RELEASE_BIN) --version) = $(PACKAGE_JSON_VERSION) + +release-bin-without-push: test-all release-bin-check release-bin-generate release-bin-codesign release-bin: release-bin-without-push release-bin-push release-bin-push: diff --git a/src/cli/upgrade_command.zig b/src/cli/upgrade_command.zig index 223c5d41d..1ea8b5391 100644 --- a/src/cli/upgrade_command.zig +++ b/src/cli/upgrade_command.zig @@ -330,7 +330,7 @@ pub const UpgradeCommand = struct { if (version.name() != null and version.isCurrent()) { Output.prettyErrorln( - "<r><green>Congrats!<r> You're already on the latest version of Bun <d>(which is v {s})<r>", + "<r><green>Congrats!<r> You're already on the latest version of Bun <d>(which is v{s})<r>", .{ version.name().?, }, |