-
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
. Bump version ofmetafacture
. -
git add build.gradle; git commit
. Message "Publish $VERSION from master branch") -
git tag -s $VERSION
. MessageRelease $VERSION
. - Create runner distribution:
./gradlew distZip
-
Only for publishing release candidates (?! Oherwise a "Received status code 409 from server: Conflict" appears)::
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 A.B.C+1-SNAPSHOT after A.B.C release") and push to master - Push tags:
git push --tags origin master
- Only for a full release: 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 http://metafacture.github.io/metafacture-documentation/docs/flux/flux-commands.html.