Keep desktop builds and the feed to one version
Both scripts now read the version from desktop/package.json: the build report and checksums only cover the current version's artifacts, the feed copy ignores older files, and publishing prunes previous installers from the feed (latest*.yml only ever points at the current one).
This commit is contained in:
@@ -41,9 +41,9 @@ esac
|
||||
VERSION="$(node -p "require('./desktop/package.json').version")"
|
||||
|
||||
case "$TARGET" in
|
||||
linux) ARTIFACTS=(-name "*.deb" -o -name "*.pkg.tar.zst") ;;
|
||||
win) ARTIFACTS=(-name "*.exe") ;;
|
||||
all) ARTIFACTS=(-name "*.deb" -o -name "*.pkg.tar.zst" -o -name "*.exe") ;;
|
||||
linux) ARTIFACTS=(-name "*${VERSION}*.deb" -o -name "*${VERSION}*.pkg.tar.zst") ;;
|
||||
win) ARTIFACTS=(-name "*${VERSION}*.exe") ;;
|
||||
all) ARTIFACTS=(-name "*${VERSION}*.deb" -o -name "*${VERSION}*.pkg.tar.zst" -o -name "*${VERSION}*.exe") ;;
|
||||
esac
|
||||
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user