Skip to content

Commit be54f71

Browse files
committed
Gradle changes
1 parent 201a9a3 commit be54f71

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ task windowsInstaller(dependsOn: jpackageImage) { // requires inno setup to be i
201201
}
202202
}
203203

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

208208
if (!os.isWindows()) { // never do jpackage on windows

dist/macos/bump-cask-pr.bash

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
if [ $# -ne 1 ]; then
4+
>&2 echo "Must provide exactly one argument for version"
5+
exit 1
6+
fi
7+
8+
brew tap homebrew/cask && brew bump-cask-pr blobsaver --no-audit --no-style --version "$1"
9+
brew untap homebrew/cask

settings.gradle

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
1-
pluginManagement {
2-
repositories {
3-
mavenCentral()
4-
gradlePluginPortal()
5-
}
6-
}
7-
81
rootProject.name = 'blobsaver'

0 commit comments

Comments
 (0)