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,3 @@
|
||||
# Transfer-only release archives: keep the checksums reviewable, not the tarballs.
|
||||
*.tar.gz
|
||||
*.deb
|
||||
@@ -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.
|
||||
@@ -0,0 +1,2 @@
|
||||
7b2f91d603b49aa19734e681278a16f8024018c618b1c342d2607c75a2e6722f Luminary-0.5.1-linux-x64.tar.gz
|
||||
5649939b748946409a99d6e8e99a4d5a5613f7602458b23d9af23ef9b7f65d04 Luminary-0.5.1-linux-amd64.deb
|
||||
Reference in New Issue
Block a user