Skip to content

Commit

Permalink
fix: include shadowed cli jar in github releases (closes #29)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Mar 22, 2024
1 parent 175ea4c commit 0c9e5d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ jobs:
draft: false
files: |
build/libs/*.jar
codebook-cli/build/libs/*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions codebook-cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ tasks.jar {
}
}

tasks.named("build") {
dependsOn(tasks.named("shadowJar"))
}

val os: OperatingSystem = DefaultNativePlatform.getCurrentOperatingSystem()
if (os.isLinux || os.isMacOsX) {
tasks.register("executableJar") {
Expand Down

0 comments on commit 0c9e5d0

Please sign in to comment.