Skip to content

Commit a85adda

Browse files
committed
chore: add release please
Release-As: 3.0.2
1 parent 73dfa48 commit a85adda

8 files changed

Lines changed: 90 additions & 26 deletions

File tree

.github/src_filters.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
src:
2+
- '**/src/**'
3+
- '**/build.gradle'
4+
- '**/gradle.lockfile'
5+
- '**/gradle.settings'
6+
- '.github/**'

.github/workflows/build.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
workflow_dispatch:
4+
inputs:
5+
force:
6+
default: false
7+
description: Force all steps (ignore changes)
8+
required: false
9+
type: boolean
10+
11+
name: ci
12+
13+
jobs:
14+
ci:
15+
permissions: read-all
16+
uses: mxenabled/path-tools/.github/workflows/ci.yml@master
17+
with:
18+
force: ${{ inputs.force != '' && inputs.force }}
19+
java-version: '17'

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
workflow_dispatch:
3+
push:
4+
branches:
5+
- master
6+
7+
name: release
8+
9+
jobs:
10+
release:
11+
permissions: write-all
12+
uses: mxenabled/path-tools/.github/workflows/release_manifest.yml@master
13+
with:
14+
dry-run: true
15+
secrets:
16+
OSSRH_USERNAME: not_published
17+
OSSRH_TOKEN: not_published
18+
GPG_SIGNING_KEY_BASE64: not_published
19+
GPG_SIGNING_PASSPHRASE: not_published

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "3.0.1"
3+
}

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,34 @@ Binks is a simple plugin that validates and creates release tags to launch jar p
88

99
Binks is hosted via [JitPack](https://jitpack.io/p/mxenabled/binks).
1010

11+
#### Gradle
12+
13+
<!-- x-release-please-start-version -->
14+
_build.gradle_:
15+
```groovy
16+
plugins {
17+
id: "com.github.mxenabled.binks" version "3.0.1"
18+
}
19+
20+
allprojects {
21+
repositories {
22+
...
23+
maven { url "https://jitpack.io" }
24+
}
25+
}
26+
```
27+
28+
_settings.gradle_:
29+
```groovy
30+
pluginManagement {
31+
repositories {
32+
...
33+
maven { url "https://jitpack.io" }
34+
}
35+
}
36+
```
37+
<!-- x-release-please-end -->
38+
1139
### Usage
1240

1341
```

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212

1313
group "com.mx.binks"
14-
version "3.0.1"
14+
version "3.0.1" // x-release-please-version
1515
sourceCompatibility = JavaVersion.VERSION_17
1616
targetCompatibility = JavaVersion.VERSION_17
1717

release-please-config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"bootstrap-sha": "73dfa48603f88cc8174de8dd9d3ff5f7b7d4e263",
3+
"include-v-in-tag": false,
4+
"prerelease": false,
5+
"release-type": "simple",
6+
"packages": {
7+
".": {
8+
"extra-files": [
9+
"build.gradle",
10+
"README.md"
11+
]
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)