aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--src/cli/upgrade_command.zig2
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4f985d258..d0472dc4b 100644
--- a/Makefile
+++ b/Makefile
@@ -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().?,
},