Fix bugs
This commit is contained in:
parent
33bc3b2f8b
commit
2ea06de9f8
2 changed files with 7 additions and 7 deletions
10
sum.sh
10
sum.sh
|
@ -9,10 +9,6 @@ sum_file () {
|
|||
if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
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
|
||||
if [[ "$BUILDARCH" == "x64" ]]; then
|
||||
deb_arch=amd64
|
||||
|
@ -22,7 +18,9 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||
rpm_arch=i386
|
||||
fi
|
||||
sum_file VSCodium-linux*.tar.gz
|
||||
sum_file vscode/.build/linux/deb/$(arch)/deb/*.deb
|
||||
sum_file vscode/.build/linux/rpm/$(arch_alt)/*.rpm
|
||||
sum_file vscode/.build/linux/deb/$(deb_arch)/deb/*.deb
|
||||
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
|
||||
|
|
|
@ -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
|
||||
displayName: 'move the zip folder'
|
||||
- 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'
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
|
|
Loading…
Reference in a new issue