aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/nightly.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index e99f96c..4a6bc53 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -135,7 +135,8 @@ jobs:
# 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.2.0 \
+ VERSION=`sed -nE 's/#define PACKAGE_VERSION "(.*)"/\1/p' config.h`
+ pkgbuild --identifier net.sf.sciteco.pkg --version $VERSION \
--root temp-install --install-location / \
sciteco-curses_nightly_macos_x86_64.pkg
- name: Archive Mac OS Distribution (ncurses)