Add the Ubuntu packaging pipeline and smoke test
Builds the tar.gz and .deb under linux/, with a launcher, install script and SMOKE-LINUX.sh so a packaged build can be checked before publishing.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Linux release hand-off
|
||||
|
||||
`node linux/build.mjs --skip-build --publish` drops the finished artifacts here:
|
||||
|
||||
```
|
||||
Luminary-0.5.1-linux-x64.tar.gz portable bundle
|
||||
Luminary-0.5.1-linux-amd64.deb Ubuntu package
|
||||
SHA256SUMS.txt
|
||||
```
|
||||
|
||||
The archives are git-ignored; only `SHA256SUMS.txt` and this note are tracked,
|
||||
so the checksums stay reviewable while the multi-hundred-megabyte archives do
|
||||
not end up in the repository (or in the deploy rsync).
|
||||
|
||||
Verify a copy with:
|
||||
|
||||
```bash
|
||||
sha256sum -c SHA256SUMS.txt
|
||||
tar -tzf Luminary-0.5.1-linux-x64.tar.gz | head
|
||||
dpkg-deb --info Luminary-0.5.1-linux-amd64.deb
|
||||
```
|
||||
|
||||
On Ubuntu the easiest install is `sudo apt install ./Luminary-0.5.1-linux-amd64.deb`,
|
||||
which adds Luminary to the applications menu. The portable route is to extract
|
||||
the whole tarball and run `./luminary` from the extracted `Luminary` folder;
|
||||
`./install.sh` adds that copy to the applications menu.
|
||||
|
||||
After publishing, the product site needs the new `.deb` copied to
|
||||
`luminary-site/downloads/` with the size and SHA-256 in its download card.
|
||||
Reference in New Issue
Block a user