File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ docker-run-release:
4545
4646.PHONY : dist
4747dist : export COPYFILE_DISABLE=1 # teach OSX tar to not put ._* files in tar archive
48+ dist : export CGO_ENABLED=0
4849dist :
4950 rm -rf build/diff/* release/*
5051 mkdir -p build/diff/bin release/
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 : " 2.11.0+4 "
4+ version : " 2.11.0+5 "
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 11#! /usr/bin/env bash
2+ set -x
23
3- go get github.com/aktau/github-release
4+ if [ ! -f bin/github-releae ]; then
5+ OS=$( uname)
6+ curl -L https://github.com/aktau/github-release/releases/download/v0.7.2/$OS -amd64-github-release.tar.bz2 | tar -C bin/ -jvx --strip-components=3
7+ fi
48
59user=databus23
610repo=helm-diff
711tag=$1
812commit=$2
913
10- github-release release -u $user -r $repo -t $tag -c $commit -n $tag
14+ bin/ github-release release -u $user -r $repo -t $tag -c $commit -n $tag
1115
1216for f in $( ls release) ; do
13- github-release upload -u $user -r $repo -t $tag -n $f -f release/$f
17+ bin/ github-release upload -u $user -r $repo -t $tag -n $f -f release/$f
1418done
You can’t perform that action at this time.
0 commit comments