Explorar o código

Use the new git branch

FusionPBX hai 9 meses
pai
achega
2a2305f4fc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      debian/resources/switch/source-release.sh

+ 2 - 0
debian/resources/switch/source-release.sh

@@ -101,6 +101,8 @@ if [ $switch_branch = "stable" ]; then
 	#1.10.0 and newer
 	if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then
 		git clone -b $switch_version --single-branch https://github.com/fusionpbx/freeswitch freeswitch-$switch_version
+  		git checkout $switch_version
+
 		#wget http://files.freeswitch.org/freeswitch-releases/freeswitch-$switch_version.-release.zip
 		#unzip freeswitch-$switch_version.-release.zip
 		#mv freeswitch-$switch_version.-release freeswitch-$switch_version