File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -18,3 +18,25 @@ script:
1818  - go build -v . 
1919  - go vet ./... 
2020  - go test ./... 
21+ 
22+ before_deploy :
23+   - mkdir -p release 
24+   - " GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags -a -tags netgo -ldflags '-s -w -extldflags -static' -o release/transfersh-$TRAVIS_TAG-linux-amd64" 
25+   - " GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go build -ldflags -a -tags netgo -ldflags '-s -w -extldflags -static' -o release/transfersh-$TRAVIS_TAG-linux-armv7" 
26+   - " GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags -a -tags netgo -ldflags '-s -w -extldflags -static' -o release/transfersh-$TRAVIS_TAG-darwin-amd64" 
27+   - " GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags -a -tags netgo -ldflags '-s -w -extldflags -static' -o release/transfersh-$TRAVIS_TAG-win-amd64.exe" 
28+ 
29+ deploy :
30+   provider : releases 
31+   api_key :
32+     secure : cOuMGyvrl/9GX3TZFL+Vq++2Bv5Hlb3VfXSYONfeAj+1AXI3Y+tPruy/XnWpa1MUxkvFuIhea3sUAiKfwhHip9csCmMUhDJtaTU9apsxRkyF/OFrWb7/FlbnqYuAwnp91ImvtSlnubg2VHTjhBA6ycNQF7WZcJEMVMsAtC/nSY4= 
33+   file :
34+     - " release/transfersh-$TRAVIS_TAG-linux-amd64" 
35+     - " release/transfersh-$TRAVIS_TAG-linux-armv7" 
36+     - " release/transfersh-$TRAVIS_TAG-darwin-amd64" 
37+     - " release/transfersh-$TRAVIS_TAG-win-amd64.exe" 
38+   skip_cleanup : true 
39+   on :
40+     tags : true 
41+     go : tip 
42+   overwrite : true 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments