Skip to content

Commit

Permalink
build: enable publishing from preview branches (#59)
Browse files Browse the repository at this point in the history
Enables automatic publishing from preview branches named `preview/v...`.

NOTE: The publishing step just takes the version as defined by `nuiVersion`  in `build.gradle`. Maintainers need to ensure that only `-SNAPSHOT` versions are published from preview branches.
  • Loading branch information
skaldarnar authored Jun 12, 2021
1 parent 8c1c15f commit e414d26
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pipeline {
anyOf {
branch 'master'
branch pattern: "release/v\\d+.x", comparator: "REGEXP"
branch pattern: "preview/v\\d+.x", comparator: "REGEXP"
}
}
steps {
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ The following table shows release branches and known projects using them.

We may port back changes made to the main line of the code to release branches by _cherry picking_ them to the respective branches.

In addition to release branches we may prepare _preview branches_ for upcoming and/or experimental features.
Only `-SNAPSHOT` versions may be released from preview branches.
It is the responsibility of the preview branch maintainers to keep the preview branches up-to-date with main development.

| Branch | Version | gestalt | Projects |
| -------------- |:-------------:|:-------:| ------------------------------------ |
| `preview/v4.x` | v4.x-SNAPSHOT | \* | [DestinationSol] experimental branch |

## 🚀 Release Management

A _release_ denotes that an artifact for the associated commit is available for consumption. Our
Expand Down

0 comments on commit e414d26

Please sign in to comment.