summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-27 23:59:30 -0600
committerGitHub <noreply@github.com>2026-11-27 23:59:30 -0600
commit5b21c155a9539bfe3c55d2ba6bbe7073e23ab6c5 (patch)
tree112cf838f96066fd2674c758f3d3ae34a44619b4 /.github/workflows
parentd84b4b8a3139e69cb6f27bb3223442c50b96290c (diff)
parente8a4c44ab45e808113f206581a3cd8d6d3e38bc7 (diff)
downloadwhoson-1.1.0.tar.gz
Merge pull request #19 from skurtz97/release/1.1v1.1.0
Release 1.1.0 and package as a zopen port
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0b30bfe..db6b52c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,3 +37,22 @@ jobs:
# well formed. -n runs nothing.
- run: make -n all
- run: make -n install check list
+
+ port:
+ name: zopen port
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
+ with:
+ persist-credentials: false
+ # buildenv is sourced by zopen's shell, and the port's stable tarball
+ # must be the release this tree claims to be.
+ - run: sh -n buildenv
+ - name: buildenv matches VERSION
+ run: |
+ version=$(sed -n 's/^VERSION[[:space:]]*=[[:space:]]*//p' Makefile)
+ port=$(sed -n 's/^WHOSON_VERSION="\(.*\)"/\1/p' buildenv)
+ if [ "$version" != "$port" ]; then
+ echo "buildenv $port != Makefile $version" >&2
+ exit 1
+ fi