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
112
112
build_mono=1
113
113
publish_nuget=0
114
114
115
- while getopts " h?v:t:b:-:" opt; do
115
+ while getopts " h?v:t:b:n -:" opt; do
116
116
case " $opt " in
117
117
h|\? )
118
118
echo " Usage: $0 [OPTIONS...]"
119
119
echo
120
120
echo " -v godot version (e.g: 3.2-stable) [mandatory]"
121
121
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)"
124
126
echo
125
127
exit 1
126
128
;;
@@ -140,6 +142,9 @@ while getopts "h?v:t:b:-:" opt; do
140
142
build_mono=0
141
143
fi
142
144
;;
145
+ n)
146
+ publish_nuget=1
147
+ ;;
143
148
-)
144
149
case " ${OPTARG} " in
145
150
no-cleanup)
@@ -148,9 +153,6 @@ while getopts "h?v:t:b:-:" opt; do
148
153
no-tarball)
149
154
make_tarball=0
150
155
;;
151
- publish-nuget)
152
- publish_nuget=1
153
- ;;
154
156
* )
155
157
if [ " $OPTERR " == 1 ] && [ " ${optspec: 0: 1} " != " :" ]; then
156
158
echo " Unknown option --${OPTARG} ."
You can’t perform that action at this time.
0 commit comments