Skip to content

Use git based version as meson version - #7

Closed
jannau wants to merge 4 commits into
mainfrom
git-versioning
Closed

jannau wants to merge 4 commits into
mainfrom
git-versioning

Conversation

@jannau

@jannau jannau commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Use git describe --always --dirty as meson version with a meson dist hook to replace the version. Add a CI workflow to test meson dist and upload tarballs.


Please check all boxes that apply:

  • This code was developed in accordance with the Asahi Linux Copyright Policy
  • I have not used generative AI/LLMs to develop this code, in accordance with the Asahi Linux LLM Policy
  • I have certified the above by adding a Signed-off-by: trailer to every commit

All boxes must be checked before your pull request can be reviewed.

@jannau
jannau added this pull request to stack #8 October 24, 2026 21:05
@jannau
jannau force-pushed the git-versioning branch 8 times, most recently from 8ac7d71 to 7c31395 Compare October 24, 2026 21:56
@jannau
jannau marked this pull request as ready for review October 24, 2026 21:57
Comment thread version.sh Resolved
@jannau
jannau force-pushed the git-versioning branch 2 times, most recently from 783eacc to e40f79f Compare October 25, 2026 14:29
Base automatically changed from codec-selection to main October 28, 2026 18:44
…ilds

Replaces the previous ci workflow.

Signed-off-by: Janne Grunau <j@jannau.net>
It runs `meson dist` and uploads the resulting tarball as artifact.

Signed-off-by: Janne Grunau <j@jannau.net>
@sofus13

sofus13 commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Thanks! Merged manually (dropped empty commit and squashed the fixup)

@sofus13 sofus13 closed this Oct 28, 2026
@jannau
jannau deleted the git-versioning branch October 31, 2026 14:23
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.

2 participants