Skip to content

Commit e2af7ce

Browse files
authored
build tar.gz files as assets (#24)
1 parent 594137b commit e2af7ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build-binaries

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,6 @@ for os_arch in "${PLATFORMS[@]}"; do
5353
$SCRIPTPATH/build-docker-images -p $os_arch -v $VERSION -r $repo_name $PASS_THRU_ARGS
5454
docker container create --rm --name $container_name "$repo_name:$VERSION-$os-$arch"
5555
docker container cp $container_name:/ec2-instance-selector $SCRIPTPATH/../build/bin/$bin_name
56+
57+
tar -zcvf ${SCRIPTPATH}/../build/bin/${bin_name}.tar.gz -C ${SCRIPTPATH}/../build/bin ${bin_name}
5658
done

0 commit comments

Comments
 (0)