mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-23 11:30:14 +10:00
Fix bugs
This commit is contained in:
10
sum.sh
10
sum.sh
@@ -9,10 +9,6 @@ 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
|
||||||
elif [[ "$CI_WINDOWS" == "True" ]]; then
|
|
||||||
sum_file VSCodium-win32*.zip
|
|
||||||
sum_file VSCodiumSetup*.exe
|
|
||||||
sum_file VSCodiumUserSetup*.exe
|
|
||||||
else # linux
|
else # linux
|
||||||
if [[ "$BUILDARCH" == "x64" ]]; then
|
if [[ "$BUILDARCH" == "x64" ]]; then
|
||||||
deb_arch=amd64
|
deb_arch=amd64
|
||||||
@@ -22,7 +18,9 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||||||
rpm_arch=i386
|
rpm_arch=i386
|
||||||
fi
|
fi
|
||||||
sum_file VSCodium-linux*.tar.gz
|
sum_file VSCodium-linux*.tar.gz
|
||||||
sum_file vscode/.build/linux/deb/$(arch)/deb/*.deb
|
sum_file vscode/.build/linux/deb/$(deb_arch)/deb/*.deb
|
||||||
sum_file vscode/.build/linux/rpm/$(arch_alt)/*.rpm
|
sum_file vscode/.build/linux/rpm/$(rpm_arch)/*.rpm
|
||||||
|
cp vscode/.build/linux/deb/$(deb_arch)/deb/*.sha256 .
|
||||||
|
cp vscode/.build/linux/rpm/$(rpm_arch)/*.sha256 .
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -40,7 +40,9 @@ steps:
|
|||||||
if [[ "$SHOULD_BUILD" == "yes" ]]; then mv vscode\\.build\\win32-$(BUILDARCH)\\archive\\VSCode-win32-$(BUILDARCH).zip VSCodium-win32-$(BUILDARCH)-${LATEST_MS_TAG}.zip; fi
|
if [[ "$SHOULD_BUILD" == "yes" ]]; then mv vscode\\.build\\win32-$(BUILDARCH)\\archive\\VSCode-win32-$(BUILDARCH).zip VSCodium-win32-$(BUILDARCH)-${LATEST_MS_TAG}.zip; fi
|
||||||
displayName: 'move the zip folder'
|
displayName: 'move the zip folder'
|
||||||
- powershell: |
|
- powershell: |
|
||||||
bash ./sum.sh
|
Get-FileHash VSCodiumSetup-$(BUILDARCH)-$(LATEST_MS_TAG).exe -Algorithm SHA256 | Format-List > VSCodiumSetup-$(BUILDARCH)-$(LATEST_MS_TAG).sha256
|
||||||
|
Get-FileHash VSCodiumUserSetup-$(BUILDARCH)-$(LATEST_MS_TAG).exe -Algorithm SHA256 | Format-List > VSCodiumUserSetup-$(BUILDARCH)-$(LATEST_MS_TAG).sha256
|
||||||
|
Get-FileHash VSCodium-win32-$(BUILDARCH)-$(LATEST_MS_TAG).zip -Algorithm SHA256 | Format-List > VSCodium-win32-$(BUILDARCH)-$(LATEST_MS_TAG).sha256
|
||||||
displayName: 'compute sums'
|
displayName: 'compute sums'
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Reference in New Issue
Block a user