mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-11-23 08:27:38 +03:00
52ef4eb7be
* always use latest version of pkg2appimage * generate zsync file to make the appimage updateable * install fuse for GH actions * remove fuse * run AppImage * comment converts * getting info on images * using bugfix from #536 * add DOCKER_BUILD flag * extract AppImageAssistant before running it * use local `convert` and not from `pkg2appimage`
31 lines
685 B
Bash
Executable File
31 lines
685 B
Bash
Executable File
#!/bin/bash
|
|
|
|
npm install -g checksum
|
|
|
|
sum_file () {
|
|
if [[ -f "$1" ]]; then
|
|
checksum -a sha256 "$1" > "$1".sha256
|
|
checksum "$1" > "$1".sha1
|
|
fi
|
|
}
|
|
|
|
if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|
if [[ "$OS_NAME" == "osx" ]]; then
|
|
sum_file VSCodium-darwin-*.zip
|
|
sum_file VSCodium*.dmg
|
|
elif [[ "$OS_NAME" == "windows" ]]; then
|
|
sum_file VSCodiumSetup-*.exe
|
|
sum_file VSCodiumUserSetup-*.exe
|
|
sum_file VSCodium-win32-*.zip
|
|
else # linux
|
|
cp out/*.AppImage* .
|
|
cp vscode/.build/linux/deb/*/deb/*.deb .
|
|
cp vscode/.build/linux/rpm/*/*.rpm .
|
|
|
|
sum_file VSCodium-*.AppImage
|
|
sum_file VSCodium-linux*.tar.gz
|
|
sum_file *.deb
|
|
sum_file *.rpm
|
|
fi
|
|
fi
|