-
Notifications
You must be signed in to change notification settings - Fork 2
Maintainer Guidelines
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
).
- Remove
-SNAPSHOT
version suffix inbuild.gradle
, commit ("Publish $VERSION from master branch") and make an annotated signed tag (git tag -s <VERSION>
) with messageRelease $VERSION
. - Create runner distribution:
./gradlew distZip
-
Publish:
git switch publish && git merge --ff-only master && git push origin publish && git switch master
- Increment version number, append
-SNAPSHOT
version suffix inbuild.gradle
, commit ("Move version to <VERSION+1>-SNAPSHOT after release") and push to master - Push:
git push --tags origin master
- Create release from tag, attach runner distribution
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
.