File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -112,15 +112,17 @@ build_classical=1
112112build_mono=1
113113publish_nuget=0
114114
115- while getopts " h?v:t:b:-:" opt; do
115+ while getopts " h?v:t:b:n -:" opt; do
116116 case " $opt " in
117117 h|\? )
118118 echo " Usage: $0 [OPTIONS...]"
119119 echo
120120 echo " -v godot version (e.g: 3.2-stable) [mandatory]"
121121 echo " -t templates version (e.g. 3.2.stable) [mandatory]"
122- echo " -b all|classical|mono|none (default: all)"
123- echo " --publish-nuget (default: false)"
122+ echo " -b build target: all|classical|mono|none (default: all)"
123+ echo " -n publish nuget packages (default: false)"
124+ echo " --no-cleanup disable deleting pre-existing output folders (default: false)"
125+ echo " --no-tarball disable generating source tarball (default: false)"
124126 echo
125127 exit 1
126128 ;;
@@ -140,6 +142,9 @@ while getopts "h?v:t:b:-:" opt; do
140142 build_mono=0
141143 fi
142144 ;;
145+ n)
146+ publish_nuget=1
147+ ;;
143148 -)
144149 case " ${OPTARG} " in
145150 no-cleanup)
@@ -148,9 +153,6 @@ while getopts "h?v:t:b:-:" opt; do
148153 no-tarball)
149154 make_tarball=0
150155 ;;
151- publish-nuget)
152- publish_nuget=1
153- ;;
154156 * )
155157 if [ " $OPTERR " == 1 ] && [ " ${optspec: 0: 1} " != " :" ]; then
156158 echo " Unknown option --${OPTARG} ."
You can’t perform that action at this time.
0 commit comments