Skip to content
/ igv Public
forked from igvteam/igv

Commit

Permalink
Deploy the right target for Mac, deploy Linux zip release too
Browse files Browse the repository at this point in the history
  • Loading branch information
brainstorm committed Mar 13, 2019
1 parent aefcc15 commit aa8311c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ install:
- "./gradlew assemble"
script:
- "./gradlew build --stacktrace"
- "./gradlew createMacDistZip"
- "./gradlew createMacAppDistZip"
- "./gradlew createLinuxDistZip"
- "./gradlew createWinDist"

notifications:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ task createDist(type: Copy, dependsOn: copyToLib) {

task createLinuxDistZip(type: Zip, dependsOn: createDist) {
baseName = "IGV_Linux"
archiveName = createLinuxDistZip.baseName + "_${version}_java11.zip"
archiveName = createLinuxDistZip.baseName + "_${version}.zip"
destinationDir = file("${buildDir}/distZip")
if (!jdkBundleLinux.equals("")) {
with copySpec { from jdkBundleLinux into "jdk-11" }
Expand All @@ -238,7 +238,7 @@ task createLinuxDistZip(type: Zip, dependsOn: createDist) {
exclude "*.bat"
exclude "*.command"
}
into createLinuxDistZip.baseName + "_${version}_java11"
into createLinuxDistZip.baseName + "_${version}"

doLast {
project.exec { commandLine('chmod', '775', createLinuxDistZip.archivePath) }
Expand Down

0 comments on commit aa8311c

Please sign in to comment.