#!/usr/bin/env bash

mkdir -p binaries
tar -xzf lifecycle-tar/lifecycle-binaries-latest.tgz --directory binaries

pushd binaries
  shasum -a 256 analyzer builder detector exporter launcher > shasum.txt
popd

# upload each binary to our s3
# modify manifest with s3 url and sha


#!/usr/bin/env bash

mkdir -p binaries
tar -xzf lifecycle-tar/lifecycle-binaries-latest.tgz --directory binaries

pushd binaries
  shasum -a 256 analyzer builder detector exporter launcher > shasum.txt
popd

version=$(cat binaries/VERSION)
tar cvf binaries-$version.tgz binaries

Create versioned lifecycle tar files
Create versioned lifecycle tar files

[#163987847]

Co-authored-by: Chhavi Kankaria <a45f933d80ef78816bcf302f872972e3887e5115@pivotal.io>
