File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ docker-run-release:
45
45
46
46
.PHONY : dist
47
47
dist : export COPYFILE_DISABLE=1 # teach OSX tar to not put ._* files in tar archive
48
+ dist : export CGO_ENABLED=0
48
49
dist :
49
50
rm -rf build/diff/* release/*
50
51
mkdir -p build/diff/bin release/
Original file line number Diff line number Diff line change 1
1
name : " diff"
2
2
# Version is the version of Helm plus the number of official builds for this
3
3
# plugin
4
- version : " 2.11.0+4 "
4
+ version : " 2.11.0+5 "
5
5
usage : " Preview helm upgrade changes as a diff"
6
6
description : " Preview helm upgrade changes as a diff"
7
7
useTunnel : true
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
+ set -x
2
3
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
4
8
5
9
user=databus23
6
10
repo=helm-diff
7
11
tag=$1
8
12
commit=$2
9
13
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
11
15
12
16
for 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
14
18
done
You can’t perform that action at this time.
0 commit comments