Skip to content

Commit

Permalink
Fix archives
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandowner committed Jul 6, 2020
1 parent ac256e4 commit 1363c69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ update-version:
sed -i.bak -e "s/v[0-9].[0-9].[0-9][-alpha]*[-beta]*/${VERSION}/g" ./cmd/version.go
sed -i.bak -e "s/v[0-9].[0-9].[0-9][-alpha]*[-beta]*/${VERSION}/g" ./psp-util.yaml

checksum:
shasum -a 256 bin/release/psp-util_v1.0.0-alpha_darwin_amd64.tar.gz | awk '{print $$1}'
shasum -a 256 bin/release/psp-util_v1.0.0-alpha_linux_amd64.tar.gz | awk '{print $$1}'

release: update-version multi-build
mkdir -p bin/release
tar -zcvf bin/release/${NAME}_${VERSION}_darwin_amd64.tar.gz LICENSE bin/darwin_amd64/${NAME}
tar -zcvf bin/release/${NAME}_${VERSION}_linux_amd64.tar.gz LICENSE bin/linux_amd64/${NAME}
tar -zcvf bin/release/${NAME}_${VERSION}_darwin_amd64.tar.gz LICENSE -C bin/darwin_amd64/ ${NAME}
tar -zcvf bin/release/${NAME}_${VERSION}_linux_amd64.tar.gz LICENSE -C bin/linux_amd64/ ${NAME}
8 changes: 4 additions & 4 deletions psp-util.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ spec:
view the relations which PSP is effected to each Subjects.
homepage: https://github.com/jlandowner/psp-util
platforms:
- bin: kubectl-psp-util
- bin: psp-util
files: null
selector:
matchLabels:
arch: amd64
os: darwin
sha256: XXX
sha256: 0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5
uri: https://github.com/jlandowner/psp-util/releases/download/v1.0.0-alpha/psp-util_v1.0.0-alpha_darwin_amd64.tar.gz
- bin: kubectl-psp-util
- bin: psp-util
files: null
selector:
matchLabels:
arch: amd64
os: linux
sha256: XXX
sha256: 0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5
uri: https://github.com/jlandowner/psp-util/releases/download/v1.0.0-alpha/psp-util_v1.0.0-alpha_linux_amd64.tar.gz
shortDescription: Manage Pod Security Policy(PSP) and RBAC Resources.
version: v1.0.0-alpha

0 comments on commit 1363c69

Please sign in to comment.