Skip to content

release.yml: read mkn.yaml's version with yq, not sed - #11

Merged
PhilipDeegan merged 1 commit into
masterfrom
release_yq
Nov 20, 2026
Merged

PhilipDeegan merged 1 commit into
masterfrom
release_yq

Conversation

@PhilipDeegan

Copy link
Copy Markdown
Member

The publish step read version: with a sed regex that only matched an unquoted, unindented value. yq '.version' mkn.yaml (preinstalled on GitHub's Ubuntu runners) parses the YAML and drops the trailing comment; a missing key (null) is refused like master.

The latest branch picks this up when it is next rebuilt from master.

sed only matched an unquoted, unindented value; yq parses the YAML (and drops comments).
@PhilipDeegan
PhilipDeegan merged commit 4cf7b76 into master Nov 20, 2026
9 checks passed
@PhilipDeegan
PhilipDeegan deleted the release_yq branch November 20, 2026 18:08
@PhilipDeegan PhilipDeegan mentioned this pull request Nov 21, 2026
PhilipDeegan added a commit that referenced this pull request Nov 21, 2026
* release.yml: read mkn.yaml's version with yq, not sed (#11)

sed only matched an unquoted, unindented value; yq parses the YAML (and drops comments).

* release.yml: mkn's manifest command instead of res/ci/manifest.py (#12)

Each platform builds the top level (-p @) static and shared with "mkn clean build manifest",
which collects the libraries and their entry into .mkn/manifest/; the publish job merges every
platform's mkn.manifest.yml with yq and sets commit.

* 0.8.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant