File tree Expand file tree Collapse file tree 3 files changed +9
-26
lines changed Expand file tree Collapse file tree 3 files changed +9
-26
lines changed Original file line number Diff line number Diff line change 8080
8181.PHONY : release
8282release : lint dist
83- ifndef  GITHUB_TOKEN 
84- 	$(error GITHUB_TOKEN is undefined)
85- endif 
86- 	scripts/release.sh v$(VERSION) master
83+ 	scripts/release.sh v$(VERSION ) 
8784
8885#  Test for the plugin installation with `helm plugin install -v THIS_BRANCH` works
8986#  Useful for verifying modified `install-binary.sh` still works against various environments
Original file line number Diff line number Diff line change 11name : " diff" 
22#  Version is the version of Helm plus the number of official builds for this
33#  plugin
4- version : " 3.5 .0" 
4+ version : " 3.6 .0" 
55usage : " Preview helm upgrade changes as a diff" 
66description : " Preview helm upgrade changes as a diff" 
77useTunnel : true 
Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
2- set  -x
3- apt-get update
4- apt-get install bzip2
5- 
6- if  [ !  -f  bin/github-release ];  then 
7-   OS=$( uname) 
8-   mkdir -p bin
9-   curl -L https://github.com/aktau/github-release/releases/download/v0.10.0/$OS -amd64-github-release.bz2 |  bzcat > bin/github-release
10-   chmod +x bin/github-release
1+ #! /usr/bin/env sh
2+ set  -e
3+ if  [ " $1 " ==  " " ;  then 
4+   echo  usage: " $0  VERSION" 
115fi 
12- 
13- user=databus23
14- repo=helm-diff
15- tag=$1 
16- commit=$2 
17- 
18- bin/github-release release -u $user  -r $repo  -t $tag  -c $commit  -n $tag 
19- 
20- for  f  in  $( ls release) ;  do 
21-   bin/github-release upload -u $user  -r $repo  -t $tag  -n $f  -f release/$f 
22- done 
6+ git tag $1 
7+ git push origin $1 
8+ gh release create $1  --draft --generate-notes --title " $1 " * .tgz
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments