Add shasum of dmg and bugfix update_version.sh

This commit is contained in:
Peter Squicciarini 2019-05-18 22:02:47 -07:00
parent 7147a3a52b
commit 4860c1bca9
2 changed files with 2 additions and 1 deletions

1
sum.sh
View file

@ -21,6 +21,7 @@ sum_file () {
if [[ "$SHOULD_BUILD" == "yes" ]]; then if [[ "$SHOULD_BUILD" == "yes" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
sum_file VSCodium-darwin-*.zip sum_file VSCodium-darwin-*.zip
sum_file VSCodium*.dmg
elif [[ "$CI_WINDOWS" == "True" ]]; then elif [[ "$CI_WINDOWS" == "True" ]]; then
sum_file VSCodiumSetup-*.exe sum_file VSCodiumSetup-*.exe
sum_file VSCodiumUserSetup-*.exe sum_file VSCodiumUserSetup-*.exe

View file

@ -29,7 +29,7 @@ URL_BASE=https://github.com/VSCodium/vscodium/releases/download/${LATEST_MS_TAG}
# to make testing on forks easier # to make testing on forks easier
if [[ "$CI_WINDOWS" == "True" ]]; then if [[ "$CI_WINDOWS" == "True" ]]; then
# BUILD_REPOSITORY_URI = e.g. https://github.com/VSCodium/vscodium # BUILD_REPOSITORY_URI = e.g. https://github.com/VSCodium/vscodium
VERSIONs_REPO=$(echo ${BUILD_REPOSITORY_URI} | awk -F"/" '{ print $4 }')/versions VERSIONS_REPO=$(echo ${BUILD_REPOSITORY_URI} | awk -F"/" '{ print $4 }')/versions
else else
# TRAVIS_REPO_SLUG = e.g. VSCodium/vscodium # TRAVIS_REPO_SLUG = e.g. VSCodium/vscodium
VERSIONS_REPO=$(echo ${TRAVIS_REPO_SLUG} | awk -F"/" '{ print $1 }')/versions VERSIONS_REPO=$(echo ${TRAVIS_REPO_SLUG} | awk -F"/" '{ print $1 }')/versions