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: Tools/Release/Sources/Release.swift
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,15 @@ import Foundation
4
4
5
5
@main
6
6
structRelease:AsyncParsableCommand{
7
-
@Option(help:"The version of the package that is being released.")
8
-
varversion:String
7
+
@Option(help:"An optional build number that will be appended to the generated version (e.g. 25.12.31-123). This option is ignored when a custom version is specified.")
8
+
varbuildNumber:Int?=nil
9
+
10
+
@Option(help:"A custom version to use instead of generating a calendar version. This option takes precedence over --build-number.")
0 commit comments