refactor: create_release dead code removed

This commit is contained in:
Jack Wills
2022-07-06 00:52:45 +00:00
parent f556b6f829
commit 297979c197
+4 -9
View File
@@ -211,11 +211,10 @@ release_flow() {
main() { main() {
cmd=(dialog --backtitle "Choose build option" --radiolist "choose" 14 80 16) cmd=(dialog --backtitle "Choose option" --radiolist "choose" 14 80 16)
options=( options=(
1 "build" off 1 "test" off
2 "test" off 2 "release" off
3 "release" off
) )
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
exitStatus=$? exitStatus=$?
@@ -230,14 +229,10 @@ main() {
exit exit
break;; break;;
1) 1)
cargo_build_all
main
break;;
2)
cargo_test cargo_test
main main
break;; break;;
3) 2)
release_flow release_flow
break;; break;;
esac esac