Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Nov 2, 2023
1 parent 71a9aca commit 46bfae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum VersionBump {
await script(async ({ packageRoot }) => {
// Validate that we are on the correct branch.
const branch = $o`git branch --show-current`;
if (branch === "main") {
if (branch !== "main") {
echo("Error: You must be on the main branch before publishing.");
exit(1);
}
Expand Down

0 comments on commit 46bfae8

Please sign in to comment.