You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mise/tasks/new-release
+71-9Lines changed: 71 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ if (mainBranch !== "main") {
47
47
}
48
48
49
49
// Now, we want to know if the user wants to bump the version or set it to a specific value. The optional parameter is either "bump" or "set", followed by the version number.
50
-
// It can also be `x.x.x` instead of `set`, or `+x.x.x` instead of `bump`, as a shorthand for the same operation.
50
+
// It can also be `x.x.x` instead of `set`, or `+x.x.x` instead of `bump`, as a shorthand for the same operation.
51
51
// (The x's are numbers in this case, e.g., `+0.2.0` bumps the minor version by 2, while `1.2.3` sets the version to 1.2.3., you could call these 'relative' or 'absolute'.)
52
52
if(args.length===0){
53
53
console.error("Please provide a version to bump or set. Usage: new-release <bump|set> <version>");
@@ -165,18 +165,80 @@ if (!noCommit) {
165
165
console.log("Skipping commit and tag as --no-commit flag is set.");
166
166
}
167
167
168
-
// Push the changes and the new tag to the remote repository
168
+
// Push commits, publish Gleam packages, then push the tag to the remote repository
169
169
if(noPush){
170
170
console.log("Skipping push to remote repository as --no-push flag is set.");
0 commit comments