| 
									
										
										
										
											2017-11-11 09:38:41 -08:00
										 |  |  | #!/bin/bash
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if [ ! -z $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then | 
					
						
							|  |  |  | 	export UPLOADTOOL_SUFFIX=$TRAVIS_BRANCH | 
					
						
							|  |  |  | fi | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cd ${TRAVIS_BUILD_DIR}/../win32/subsurface | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-14 04:20:41 +02:00
										 |  |  | echo "Submitting the following Windows files for continuous build release:" | 
					
						
							| 
									
										
										
										
											2017-11-14 01:07:17 +02:00
										 |  |  | find . -name subsurface\*.exe* | 
					
						
							| 
									
										
										
										
											2017-11-11 09:38:41 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-17 16:40:35 -08:00
										 |  |  | # set up the release message to use | 
					
						
							|  |  |  | source ${TRAVIS_BUILD_DIR}/scripts/release-message.sh | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-11-11 09:38:41 -08:00
										 |  |  | # get and run the upload script | 
					
						
							| 
									
										
										
										
											2017-12-30 11:10:40 -08:00
										 |  |  | wget -c https://raw.githubusercontent.com/dirkhh/uploadtool/master/upload.sh | 
					
						
							| 
									
										
										
										
											2017-11-14 01:07:17 +02:00
										 |  |  | bash ./upload.sh subsurface*.exe* |