| 
									
										
										
										
											2017-11-11 09:38:41 -08:00
										 |  |  | #!/bin/bash
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-13 21:57:18 +01:00
										 |  |  | if [ -n $TRAVIS_BRANCH ] && [ "$TRAVIS_BRANCH" != "master" ] ; then | 
					
						
							| 
									
										
										
										
											2017-11-11 09:38:41 -08:00
										 |  |  | 	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 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-07 13:58:46 -07:00
										 |  |  | # get the upload script | 
					
						
							| 
									
										
										
										
											2017-12-30 11:10:40 -08:00
										 |  |  | wget -c https://raw.githubusercontent.com/dirkhh/uploadtool/master/upload.sh | 
					
						
							| 
									
										
										
										
											2018-02-19 23:06:52 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-07 13:58:46 -07:00
										 |  |  | # don't upload the Subsurface build (we get that from the container based | 
					
						
							|  |  |  | # Windows build, just upload smtk2ssrf | 
					
						
							| 
									
										
										
										
											2018-02-19 23:06:52 +01:00
										 |  |  | cd ${TRAVIS_BUILD_DIR}/../win32/smtk-import | 
					
						
							|  |  |  | bash ../subsurface/upload.sh smtk2ssrf*.exe* |