Skip to content
Permalink
Browse files

Produce SHA hashes of each binary

This approacth is the same as openfaas/faas-cli.
Also updated travis to be picked up on the releases page.

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
  • Loading branch information...
kenfdev authored and alexellis committed Mar 12, 2019
1 parent aa0205b commit 36b0f6cdc17e14f387649490f9a9a045af5d5d14
Showing with 10 additions and 1 deletion.
  1. +7 −1 .travis.yml
  2. +3 −0 ci/hashgen.sh
@@ -14,6 +14,9 @@ after_success:
- make docker-login
- make push

before_deploy:
- ./ci/hashgen.sh

deploy:
provider: releases
api_key:
@@ -23,7 +26,10 @@ deploy:
- ./bin/inlets-darwin
- ./bin/inlets-armhf
- ./bin/inlets-arm64
- ./bin/inlets.sha256
- ./bin/inlets-darwin.sha256
- ./bin/inlets-armhf.sha256
- ./bin/inlets-arm64.sha256
skip_cleanup: true
on:
tags: true

@@ -0,0 +1,3 @@
#!/bin/sh

for f in bin/inlets*; do shasum -a 256 $f > $f.sha256; done

0 comments on commit 36b0f6c

Please sign in to comment.
You can’t perform that action at this time.