-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from futuredapp/housekeep/this-and-that
Housekeep
- Loading branch information
Showing
4 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Publishing | ||
|
||
Each new version should have entry in [CHANGELOG.md](./CHANGELOG.md) document. | ||
|
||
## Snapshots | ||
|
||
Snapshots are built, signed and published to Maven Central snapshot repo using [CI workflow](.github/workflows/publish_snapshot.yml) with each commit to the `master` branch. | ||
|
||
Snapshots versions grouped based on major version of library and the snapshot version can be configured in project-level `gradle.properties` file: | ||
```properties | ||
VERSION_NAME=2.X.X-SNAPSHOT | ||
``` | ||
|
||
## Releases | ||
|
||
Releases are built, signed and published to Maven Central using [CI workflow](.github/workflows/publish_release.yml), after GitHub release is published. | ||
The `VERSION_NAME` property is set to match the GitHub release name: | ||
```shell | ||
./gradlew publish -PVERSION_NAME=${{ github.event.release.name }} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters