Skip to content

Commit d60268b

Browse files
authored
Merge pull request #4 from puppetlabs-operations/generate-checksums
Generate sha256 checksums of built files
2 parents f2f40a4 + 052d177 commit d60268b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ for target in $targets; do
2323
echo "----> Building project for: $target"
2424
GOOS=$os GOARCH=$arch CGO_ENABLED=0 go build -o $output
2525

26+
sha256sum $output |cut -d ' ' -f1 > $output-sha256sum.txt
27+
2628
zip -j $output.zip $output > /dev/null 2>&1
2729
tar -czvf $output.tgz $output > /dev/null 2>&1
2830
done

0 commit comments

Comments
 (0)