updated release script for tag menu option
This commit is contained in:
+17
-10
@@ -26,6 +26,11 @@ url_frs="${USERNAME},bacnet@frs.sourceforge.net:/home/frs/project/b/ba/bacnet"
|
|||||||
url_frs_tools="$url_frs/bacnet-tools"
|
url_frs_tools="$url_frs/bacnet-tools"
|
||||||
url_frs_source="$url_frs/bacnet-stack"
|
url_frs_source="$url_frs/bacnet-stack"
|
||||||
|
|
||||||
|
function bacnet_tag() {
|
||||||
|
echo "Tagging Source Code $tag_name"
|
||||||
|
git tag $tag_name
|
||||||
|
}
|
||||||
|
|
||||||
function bacnet_build() {
|
function bacnet_build() {
|
||||||
echo ""
|
echo ""
|
||||||
echo "Build Win32 Apps"
|
echo "Build Win32 Apps"
|
||||||
@@ -87,20 +92,22 @@ function bacnet_settings() {
|
|||||||
menu(){
|
menu(){
|
||||||
echo -ne "
|
echo -ne "
|
||||||
BACnet Stack Release Steps
|
BACnet Stack Release Steps
|
||||||
1) Build BACnet apps for Win32
|
1) Tag BACnet source code
|
||||||
2) Zip BACnet apps for Win32
|
2) Build BACnet apps for Win32
|
||||||
3) Archive BACnet source code
|
3) Zip BACnet apps for Win32
|
||||||
4) Upload files to bacnet.sf.net
|
4) Archive BACnet source code
|
||||||
5) Configure bacnet.sf.net download settings
|
5) Upload files to bacnet.sf.net
|
||||||
|
6) Configure bacnet.sf.net download settings
|
||||||
0) Exit
|
0) Exit
|
||||||
Choose an option: "
|
Choose an option: "
|
||||||
read a
|
read a
|
||||||
case $a in
|
case $a in
|
||||||
1) bacnet_build ; menu ;;
|
1) bacnet_tag ; menu ;;
|
||||||
2) bacnet_zip ; menu ;;
|
2) bacnet_build ; menu ;;
|
||||||
3) bacnet_source ; menu ;;
|
3) bacnet_zip ; menu ;;
|
||||||
4) bacnet_upload ; menu ;;
|
4) bacnet_source ; menu ;;
|
||||||
5) bacnet_settings ; menu ;;
|
5) bacnet_upload ; menu ;;
|
||||||
|
6) bacnet_settings ; menu ;;
|
||||||
0) exit 0 ;;
|
0) exit 0 ;;
|
||||||
*) echo -e $red"Invalid option."$clear; WrongCommand;;
|
*) echo -e $red"Invalid option."$clear; WrongCommand;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user