Add shasum of dmg and bugfix update_version.sh
This commit is contained in:
parent
7147a3a52b
commit
4860c1bca9
2 changed files with 2 additions and 1 deletions
1
sum.sh
1
sum.sh
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue