add buildpath and platform to the downloader
This commit is contained in:
		
							parent
							
								
									8a78251c05
								
							
						
					
					
						commit
						d0a8fdfb11
					
				@ -12,7 +12,7 @@ pipelines:
 | 
				
			|||||||
            - mkdir build
 | 
					            - mkdir build
 | 
				
			||||||
            - ./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/$(uname)" --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}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - step:
 | 
					      - step:
 | 
				
			||||||
          name: Lint code
 | 
					          name: Lint code
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user