Skip to content

Commit b8cd54b

Browse files
committed
chore: integrate choco-review feedback
1 parent 4d35d80 commit b8cd54b

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ jobs:
160160
JRELEASER_PROJECT_VERSION: ${{ needs.gradleCheck.outputs.RELEASE_VERSION }}
161161
JRELEASER_GITHUB_TOKEN: abc # don't provide correct token, just a dry-run
162162
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_CHOCOLATEY_ACTIVE: ALWAYS
163+
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_CHOCOLATEY_REPOSITORY_ACTIVE: ALWAYS
163164
JRELEASER_CHOCOLATEY_GITHUB_TOKEN: abc # don't provide correct token, just a dry-run
164165
JRELEASER_CHOCOLATEY_USER: abc # don't provide correct token, just a dry-run
165166
JRELEASER_CHOCOLATEY_API_KEY: abc # don't provide correct token, just a dry-run

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
JRELEASER_CHOCOLATEY_USER: ${{ secrets.CHOCO_USER }} #manually extracted in jreleaser.yml
168168
JRELEASER_CHOCOLATEY_API_KEY: ${{ secrets.CHOCO_API_KEY }}
169169
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_CHOCOLATEY_ACTIVE: ALWAYS
170+
JRELEASER_DISTRIBUTIONS_SPOTLESS_CLI_CHOCOLATEY_REPOSITORY_ACTIVE: ALWAYS
170171
- name: "Persist jreleaser output"
171172
if: always()
172173
uses: actions/upload-artifact@v4

jreleaser.yml.template

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ project:
88
Or even without any build system at all, just once, or when you are working on a single file.
99
links:
1010
homepage: https://github.com/diffplug/spotless-cli
11+
license: https://github.com/diffplug/spotless-cli/blob/main/LICENSE
1112
license: Apache-2.0
1213
copyright: DiffPlug
1314
authors:
14-
- DiffPlug
15+
- Ned Twigg
16+
- Simon Gamma
1517
inceptionYear: "2025"
1618
icons:
17-
- url: https://raw.githubusercontent.com/diffplug/spotless-cli/docs/logo/spotless-brush-256.png
19+
- url: https://cdn.statically.io/gh/diffplug/spotless-cli/v{{projectVersion}}/docs/logo/spotless-brush-256.png
1820
height: 256
1921
width: 256
2022
primary: true
@@ -49,3 +51,5 @@ distributions:
4951
chocolatey:
5052
templateDirectory: app/src/jreleaser/distributions/spotless-cli/chocolatey
5153
username: @Env.JRELEASER_CHOCOLATEY_USER@ # does not support name templates, so use gradle templating
54+
repository:
55+
branch: main

0 commit comments

Comments
 (0)