Skip to content

Commit

Permalink
Gradle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
airsquared committed Sep 1, 2023
1 parent 201a9a3 commit be54f71
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ task windowsInstaller(dependsOn: jpackageImage) { // requires inno setup to be i
}
}

task bumpCaskPR(type: Exec) {
commandLine 'brew', 'bump-cask-pr', 'blobsaver', '--no-audit', '--no-style', '--version', version
task bumpCaskPR(type: Exec) { // TODO: make into a github workflow
commandLine "${projectDir}/dist/macos/bump-cask-pr.bash", version
}

if (!os.isWindows()) { // never do jpackage on windows
Expand Down
9 changes: 9 additions & 0 deletions dist/macos/bump-cask-pr.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

if [ $# -ne 1 ]; then
>&2 echo "Must provide exactly one argument for version"
exit 1
fi

brew tap homebrew/cask && brew bump-cask-pr blobsaver --no-audit --no-style --version "$1"
brew untap homebrew/cask
7 changes: 0 additions & 7 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}

rootProject.name = 'blobsaver'

0 comments on commit be54f71

Please sign in to comment.