Skip to content

Commit

Permalink
build: revert to release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnichols committed Jul 7, 2023
1 parent f421e28 commit d3b8d2f
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 53 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ on:
push:
branches:
- master
- rc

name: release

jobs:
release:
permissions: write-all
uses: mxenabled/path-tools/.github/workflows/release_semantic.yml@master
uses: mxenabled/path-tools/.github/workflows/release_manifest.yml@master
secrets:
SEMANTIC_TOKEN: ${{ secrets.SEMANTIC_TOKEN }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SIGNING_KEY_BASE64: ${{ secrets.GPG_SIGNING_KEY_BASE64 }}
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "5.0.0"
}
47 changes: 0 additions & 47 deletions .releaserc

This file was deleted.

21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ Issues: https://github.com/mxenabled/path-core/issues
### Using platform (preferred)

_Gradle_
<!-- x-release-please-start-version -->
```groovy
dependencies {
api platform("com.mx.path-facilities:platform:5.0.0") // x-release-version
api platform("com.mx.path-facilities:platform:5.0.0")
implementation "com.mx.path-facilities:store-redis"
implementation "com.mx.path-facilities:store-vault"
Expand All @@ -32,6 +33,24 @@ dependencies {
implementation "com.mx.path-facilities:exception-reporter-honeybadger"
}
```
<!-- x-release-please-end -->

### Using without platform

_Gradle_
<!-- x-release-please-start-version -->
```groovy
dependencies {
implementation "com.mx.path-facilities:store-redis:5.0.0"
implementation "com.mx.path-facilities:store-vault:5.0.0"
implementation "com.mx.path-facilities:encryption-service-vault:5.0.0"
implementation "com.mx.path-facilities:encryption-service-jasypt:5.0.0"
implementation "com.mx.path-facilities:message-broker-nats:5.0.0"
implementation "com.mx.path-facilities:fault-tolerant-executor-resilience4j:5.0.0"
implementation "com.mx.path-facilities:exception-reporter-honeybadger:5.0.0"
}
```
<!-- x-release-please-end -->

## Releases

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
}

version "5.0.0" // x-release-version
version "5.0.0" // x-release-please-version

def platformProject = "platform"

Expand Down
36 changes: 35 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {
parserPreset: 'conventional-changelog-conventionalcommits',
rules: {
'body-leading-blank': [1, 'always'],
'body-max-line-length': [2, 'always', 100],
'footer-leading-blank': [1, 'always'],
'footer-max-line-length': [2, 'always', 100],
'header-max-length': [2, 'always', 100],
'subject-case': [
2,
'never',
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
],
'subject-empty': [2, 'never'],
'subject-full-stop': [2, 'never', '.'],
'type-case': [2, 'always', 'lower-case'],
'type-empty': [2, 'never'],
'type-enum': [
2,
'always',
[
'build',
'chore',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
],
],
},
};
13 changes: 13 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"bootstrap-sha": "101b9976977e65747a19919783562df35c9402c4",
"prerelease": false,
"release-type": "simple",
"packages": {
".": {
"extra-files": [
"build.gradle",
"README.md"
]
}
}
}

0 comments on commit d3b8d2f

Please sign in to comment.