-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
76 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: java | ||
os: osx | ||
osx_image: xcode9.1 | ||
script: ./gradlew dmg | ||
after_success: ./publish.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dotify Studio is an application for creating, managing and embossing PEf-files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
plugins { | ||
id "de.inetsoftware.setupbuilder" version "1.8.0" | ||
id "de.inetsoftware.setupbuilder" version "3.4.3" | ||
} | ||
|
||
apply plugin: 'base' | ||
|
@@ -112,11 +112,13 @@ configure( [msi, msi32] ) { | |
configure( [deb, rpm] ) { | ||
doFirst { | ||
setupBuilder { | ||
desktopStarter { | ||
executable = "bin/dotify-studio" | ||
location = "ApplicationMenu" | ||
categories = "Office" | ||
} | ||
defaultResourceLanguage 'en' | ||
longDescription 'ant-build/resources/longDesc_en.txt' | ||
desktopStarter { | ||
executable = "bin/dotify-studio" | ||
location = "ApplicationMenu" | ||
categories = "Office" | ||
} | ||
} | ||
} | ||
} | ||
|
@@ -129,6 +131,7 @@ rpm.dependsOn('unzip', 'copyPlugins') | |
|
||
deb { | ||
maintainerEmail = '[email protected]' | ||
section = 'text' | ||
postinst = 'chmod +x /usr/share/dotify-studio/bin/dotify-studio' | ||
} | ||
|
||
|
@@ -138,5 +141,5 @@ rpm { | |
|
||
|
||
task wrapper(type: Wrapper, description: 'Refreshes the gradle wrapper') { | ||
gradleVersion = '3.0' | ||
} | ||
gradleVersion = '3.5' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
releaseName=Dotify Studio | ||
version=0.5.0 | ||
version=0.6.0 | ||
releaseName=Dotify Studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Wed Jun 28 19:30:48 CEST 2017 | ||
#Tue Nov 21 12:56:34 CET 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#!/bin/bash | ||
#version: 2017-11-18 | ||
|
||
repo=dotify-studio-installer | ||
version=`grep 'version=' gradle.properties | grep -E -o '[0-9\.]+.+$'` | ||
if [[ $version == *SNAPSHOT ]]; then | ||
is_release=false | ||
else | ||
is_release=true | ||
fi | ||
if [ `git diff --name-only HEAD HEAD~ | grep gradle.properties -c` = 1 ]; then | ||
prop_change="true" | ||
else | ||
prop_change="false" | ||
fi | ||
|
||
echo "Version: $version" | ||
echo "Is release: $is_release" | ||
echo "Properties changed: $prop_change" | ||
|
||
if [ "$prop_change" = "false" ]; then | ||
if [ "$is_release" = "true" ]; then | ||
echo "No version change since last commit. Is this really a release?" | ||
exit 1 | ||
fi | ||
fi | ||
|
||
if [ "$TRAVIS_REPO_SLUG" == "brailleapps/$repo" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$is_release" = true ]; then | ||
|
||
echo -e "Publishing...\n" | ||
|
||
mkdir -p $HOME/$repo/$version | ||
cp -R build/distributions/* $HOME/$repo/$version | ||
|
||
cd $HOME | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "travis-ci" | ||
git clone --quiet https://${GH_TOKEN}@github.com/brailleapps/brailleapps.github.io > /dev/null | ||
|
||
cd brailleapps.github.io | ||
git rm -rf ./$repo/$version | ||
|
||
cp -Rf $HOME/$repo/. ./$repo | ||
|
||
git add -f . | ||
git commit -m "Lastest successful travis build of $repo ($TRAVIS_BUILD_NUMBER) auto-pushed to brailleapps.github.io" | ||
git push -fq origin master > /dev/null | ||
|
||
echo -e "Published artifacts to brailleapps.github.io.\n" | ||
|
||
fi |