aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2022-11-30 13:01:15 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2022-12-01 07:43:04 +0300
commit253710bbeca95f4bf412ad0dde4537a69bcfac05 (patch)
tree04e9fb9f10d2deeb0c091e88fb59677b05b1fcb4
parent9a20db4b5257d56d2d6030a20ad42f5e0dc9f25b (diff)
downloadsciteco-253710bbeca95f4bf412ad0dde4537a69bcfac05.tar.gz
nightly builds: create Mac OS *.pkg packages
This is slightly less idiosyncratic than shipping a tarball of the installation root. The pkg has been reported to be installable even via the graphic installer when providing a password. Or it can be installed via terminal with `sudo installer`. So it no longer requires any manual dequarantining.
-rw-r--r--.github/workflows/nightly.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index b08f2d8..40254a6 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -117,13 +117,18 @@ jobs:
# FIXME: Is this really true for libc++?
dylibbundler -b -x temp-install/usr/local/bin/sciteco \
-cd -d temp-install/usr/local/lib/sciteco -p @executable_path/../lib/sciteco
- GZIP="-9" tar -C temp-install -czf sciteco-curses_nightly_macos_x86_64.tar.gz .
+ # FIXME: Should we encode the Git commit into the package version?
+ # Unfortunately, I cannot find detailed information on how Mac OS
+ # interpretes these version strings.
+ pkgbuild --identifier net.sf.sciteco.pkg --version 2.0.0 \
+ --root temp-install --install-location / \
+ sciteco-curses_nightly_macos_x86_64.pkg
- name: Archive Mac OS Distribution (ncurses)
uses: pyTooling/Actions/releaser/composite@v0.4.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: nightly
- files: ./*.tar.gz
+ files: ./*.pkg
win32-curses:
runs-on: windows-2019