Skip to content

Maintainer Guidelines

Pascal Christoph edited this page Mar 11, 2024 · 5 revisions

Releasing

It's good habit to use semantic versioning in release numbers A.B.C, i.e. increase A when it's a major release breaking backward compatibility; increase B when it got new features; increase C indicating bug fixes. A suffix like rcN (where N is a number) indicates a release candidate (rc).

Making a release

  1. Remove -SNAPSHOT version suffix in build.gradle, commit ("Publish from master branch") and make an annotated signed tag (git tag -s <VERSION>)
  2. Create runner distribution: ./gradlew distZip
  3. Publish: git switch publish && git merge --ff-only master && git push origin publish && git switch master
  4. Increment version number, append -SNAPSHOT version suffix in build.gradle, commit ("Move version to <VERSION+1>-SNAPSHOT after release") and push to master
  5. Push: git push --tags origin master
  6. Create release from tag, attach runner distribution

Update flux-commands

Download the latest runner: https://github.com/metafacture/metafacture-fix/releases . Unzip the downloaded metafix-runner distribution. Run the runner in the proper directory without arguments:./metafix-runner/build/distributions/metafix-runner-1.0.0/bin/metafix-runner (note that the links will only generated if the git repo metafacture-documentation is checked out and the file linksAndExamples.tsv is accessible via ../linksAndExamples.tsv).
Modify the generated output (i.e. the header) and commit it to https://github.com/metafacture/metafacture-documentation/blob/master/flux-commands.md.

Inform customers

Update: blog; mail; mastodon