Commit b15ba14f authored by Drew's avatar Drew

Include version in atbin names

parent 2d73b266
Pipeline #1868 skipped
......@@ -62,7 +62,7 @@ PAYLOAD=`grep -o ':payload .*' bin/package-homebrew.atbin/compiled.atpkg | grep
echo "Compressing atbin..."
# compress the atbin file
COMPRESSED="bin/${NAME}-${ATBUILD_PACKAGE_VERSION}.atbin.tar.xz"
COMPRESSED="bin/${NAME}-${ATBUILD_PACKAGE_VERSION}-osx.atbin.tar.xz"
tar c --options "xz:compression-level=9" -Jf ${COMPRESSED} bin/${NAME}.atbin -C bin
# we defer this so we can already have the atbin compressed at this point
......@@ -71,12 +71,12 @@ if [ -z ${URL+x} ]; then
echo "--url or --github-project is required"
exit 1
else
URL="https://github.com/${GITHUB_PROJECT}/releases/download/${ATBUILD_PACKAGE_VERSION}/${NAME}-${ATBUILD_PACKAGE_VERSION}.tar.xz"
URL="https://github.com/${GITHUB_PROJECT}/releases/download/${ATBUILD_PACKAGE_VERSION}/${NAME}-${ATBUILD_PACKAGE_VERSION}-osx.atbin.tar.xz"
fi
fi
# compute the sha256 sum
SHA=`shasum -a 256 ${COMPRESSED}`
SHA=`shasum -a 256 ${COMPRESSED} | cut -d ' ' -f 1`
#Convert hyphens to RUBYCASE
#behold the power of perl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment