Skip to content

Commit c5d10a3

Browse files
committed
Bump plugin version to 3.6.0
1 parent 24ca184 commit c5d10a3

File tree

3 files changed

+9
-26
lines changed

3 files changed

+9
-26
lines changed

Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ dist:
8080

8181
.PHONY: release
8282
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)
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

plugin.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "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"
55
usage: "Preview helm upgrade changes as a diff"
66
description: "Preview helm upgrade changes as a diff"
77
useTunnel: true

scripts/release.sh

+7-21
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
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"
115
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

0 commit comments

Comments
 (0)