Skip to content

Commit 4c2cc8e

Browse files
authored
Merge pull request #387 from ksa-real/bzip2
Added bzip2 to build docker. Updated golang image and github-release.
2 parents fec08e5 + 2221c35 commit 4c2cc8e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ docker-run-release: export pkg=/go/src/github.com/databus23/helm-diff
5555
docker-run-release:
5656
git checkout master
5757
git push
58-
docker run -it --rm -e GITHUB_TOKEN -v $(shell pwd):$(pkg) -w $(pkg) golang:1.17.5 make bootstrap release
58+
docker run -it --rm -e GITHUB_TOKEN -v $(shell pwd):$(pkg) -w $(pkg) golang:1.18.1 make bootstrap release
5959

6060
.PHONY: dist
6161
dist: export COPYFILE_DISABLE=1 #teach OSX tar to not put ._* files in tar archive

scripts/release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
#!/usr/bin/env bash
22
set -x
3+
apt-get update
4+
apt-get install bzip2
35

46
if [ ! -f bin/github-release ]; then
57
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
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
711
fi
812

913
user=databus23

0 commit comments

Comments
 (0)