Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [ master ]
branches: [ master, next ]
pull_request:

permissions:
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@ JitPack builds the SDK from a git tag; there is nothing to upload.

JitPack runs `./gradlew clean -Pgroup=com.github.Visual-Regression-Tracker -Pversion=<tag> -xtest assemble publishToMavenLocal` on the JDK from `jitpack.yml`, so the artifact version is always the tag. `version` in `gradle.properties` is only the default for local builds. CI runs the same command on Java 25 for every pull request.

### Release candidates

Breaking changes for the next major go into `next` through pull requests against it. Merge `master` into `next` when `master` gets new commits.

To release a candidate, make sure `next` is green, then `gh release create X.Y.Z-rc.N --target next --prerelease --notes-file <notes>` (for example `6.0.0-rc.1`) tags `next` and creates the pre-release; then start the JitPack build as in step 4. Projects get it only by asking for that exact version.

To release the final version, merge `next` into `master` with a merge commit, then tag `master` as above. The repository deletes merged branches, so create `next` again from `master` before the next round of candidates.

## Links

- [Java examples](https://github.com/Visual-Regression-Tracker/examples-java)
Expand Down
Loading