Skip to content

Commit

Permalink
chore(repo): fix release script to check for - to tag as next
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli committed Oct 3, 2024
1 parent 490c25a commit 3ef33cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const yargs = require('yargs');
dryRun: options.dryRun,
verbose: options.verbose,
otp: options.otp,
tag: options.version?.includes('.') ? 'next' : undefined,
tag: options.version?.includes('-') ? 'next' : undefined,
});
process.exit(status);
} catch (err) {
Expand Down

0 comments on commit 3ef33cf

Please sign in to comment.