Skip to content

Commit 5335754

Browse files
committed
chore: fixes for jreleaser
1 parent 0094d0e commit 5335754

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/upload-artifact@v4
5757
with:
5858
name: "dist-zip"
59-
path: app/build/distributions/spotless-*.zip
59+
path: app/build/distributions/spotless-cli-*.zip
6060
retention-days: 7
6161
if-no-files-found: "error"
6262
- name: "Get version and set to output"

app/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ dependencies {
2222
application {
2323
mainClass = 'com.diffplug.spotless.cli.SpotlessCLI'
2424
applicationName = 'spotless'
25-
archivesBaseName = 'spotless-cli'
25+
}
26+
27+
distributions {
28+
main {
29+
distributionBaseName = 'spotless-cli'
30+
}
2631
}
2732

2833
tasks.withType(Test).configureEach {

jreleaser.yml.template

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,13 @@ project:
2828
version: 21
2929

3030
packagers:
31-
brew:
3231
chocolatey:
3332
username: "@Env.JRELEASER_CHOCOLATEY_USER@" # does not support name templates, so use gradle templating
3433
extraProperties:
3534
packageSourceUrl: https://github.com/diffplug/chocolatey-bucket
3635
repository:
3736
branch: main
3837
branchPush: main
39-
# future setup
40-
jbang:
4138

4239
distributions:
4340
spotless-cli:

0 commit comments

Comments
 (0)