File tree 3 files changed +9
-26
lines changed
3 files changed +9
-26
lines changed Original file line number Diff line number Diff line change 80
80
81
81
.PHONY : release
82
82
release : 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 )
87
84
88
85
# Test for the plugin installation with `helm plugin install -v THIS_BRANCH` works
89
86
# Useful for verifying modified `install-binary.sh` still works against various environments
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 : " 3.5 .0"
4
+ version : " 3.6 .0"
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
- #! /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"
11
5
fi
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 " release/* .tgz
You can’t perform that action at this time.
0 commit comments