Skip to content

Commit

Permalink
Bump plugin version to 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
databus23 committed Sep 23, 2022
1 parent 24ca184 commit c5d10a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ dist:

.PHONY: release
release: lint dist
ifndef GITHUB_TOKEN
$(error GITHUB_TOKEN is undefined)
endif
scripts/release.sh v$(VERSION) master
scripts/release.sh v$(VERSION)

# Test for the plugin installation with `helm plugin install -v THIS_BRANCH` works
# Useful for verifying modified `install-binary.sh` still works against various environments
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "diff"
# Version is the version of Helm plus the number of official builds for this
# plugin
version: "3.5.0"
version: "3.6.0"
usage: "Preview helm upgrade changes as a diff"
description: "Preview helm upgrade changes as a diff"
useTunnel: true
Expand Down
28 changes: 7 additions & 21 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
#!/usr/bin/env bash
set -x
apt-get update
apt-get install bzip2

if [ ! -f bin/github-release ]; then
OS=$(uname)
mkdir -p bin
curl -L https://github.com/aktau/github-release/releases/download/v0.10.0/$OS-amd64-github-release.bz2 | bzcat >bin/github-release
chmod +x bin/github-release
#!/usr/bin/env sh
set -e
if [ "$1" == "" ]; then
echo usage: "$0 VERSION"
fi

user=databus23
repo=helm-diff
tag=$1
commit=$2

bin/github-release release -u $user -r $repo -t $tag -c $commit -n $tag

for f in $(ls release); do
bin/github-release upload -u $user -r $repo -t $tag -n $f -f release/$f
done
git tag $1
git push origin $1
gh release create $1 --draft --generate-notes --title "$1" release/*.tgz

0 comments on commit c5d10a3

Please sign in to comment.