add buildpath to the downloader
This commit is contained in:
		
							parent
							
								
									27a7d9f60b
								
							
						
					
					
						commit
						00c8b76fe0
					
				@ -11,6 +11,7 @@ pipelines:
 | 
				
			|||||||
            - go test -v
 | 
					            - go test -v
 | 
				
			||||||
            - mkdir build
 | 
					            - mkdir build
 | 
				
			||||||
            # go build -o build/gostations github.com/gmgauthier/gostations
 | 
					            # go build -o build/gostations github.com/gmgauthier/gostations
 | 
				
			||||||
 | 
					            - echo "Building for $(uname)"
 | 
				
			||||||
            - ./build.sh
 | 
					            - ./build.sh
 | 
				
			||||||
            - export BUILDPATH="build/$(uname)/gostations"
 | 
					            - export BUILDPATH="build/$(uname)/gostations"
 | 
				
			||||||
            - curl -X POST --user "${BITBUCKET_USERNAME}:${BITBUCKET_APP_PASSWORD}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"${BUILDPATH}"
 | 
					            - curl -X POST --user "${BITBUCKET_USERNAME}:${BITBUCKET_APP_PASSWORD}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"${BUILDPATH}"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user