summaryrefslogtreecommitdiffhomepage
path: root/CONTRIBUTING.md
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 /CONTRIBUTING.md
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 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4bc6455..784d2f6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -16,6 +16,17 @@ make install # -> ~/.local/bin/whoson
Needs IBM Open XL C/C++ 2.2 (`ibm-clang`, pinned by absolute path in the
`Makefile`) and z/OS 2.5 or later, the oldest target that compiler accepts.
+`buildenv` is the zopen port. From a checkout or a release tree:
+
+```sh
+zopen build # stable: the release tarball
+zopen build -b DEV # the git tree on main
+```
+
+It builds with the compiler zopen detects, runs `make check`, and installs
+`whoson` under `$ZOPEN_INSTALL_DIR`. Bump `WHOSON_VERSION` there with `VERSION`
+in the `Makefile`; CI checks they agree.
+
GNU make and IBM's make both have to parse the Makefile: keep it to POSIX make
syntax (`?=` is out), and let `make -n` stay free of side effects.
@@ -40,11 +51,13 @@ syntax (`?=` is out), and let `make -n` stay free of side effects.
## Releasing
-1. Bump `VERSION` in the `Makefile` and add the entry to `CHANGELOG.md`.
+1. Bump `VERSION` in the `Makefile`, `WHOSON_VERSION` in `buildenv`, and add
+ the entry to `CHANGELOG.md`.
2. Merge, then tag `main` with `v<version>` and push the tag.
3. `.github/workflows/release.yml` refuses a tag that disagrees with
`VERSION`, takes the release notes from that `CHANGELOG.md` section, and
- attaches the source archive with its sha256.
+ attaches the source archive with its sha256. `buildenv` fetches that same
+ archive for the zopen stable build.
There is no binary in a release: whoson only builds on z/OS, so a release
ships the sources and the build instructions.