Skip to content

Commit

Permalink
Merge branch 'release/1.4.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Mar 1, 2019
2 parents aa23635 + 43f2110 commit 6aafa7b
Show file tree
Hide file tree
Showing 116 changed files with 2,492 additions and 1,689 deletions.
3 changes: 3 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/runConfigurations/Cryptomator_macOS.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .travis-deploy-release.tmpl.json
@@ -0,0 +1,19 @@
{
"package": {
"name": "buildkit",
"repo": "cryptomator",
"subject": "cryptomator"
},
"version": {
"name": "$TRAVIS_TAG",
"desc": "Cryptomator version $TRAVIS_TAG",
"released": "$TODAY",
"vcs_tag": "$TRAVIS_TAG",
"gpgSign": true
},
"files":
[
{"includePattern": "main/buildkit/target/(buildkit-[a-z]+\\.zip)", "uploadPattern": "/$TRAVIS_TAG/$1"}
],
"publish": true
}
15 changes: 15 additions & 0 deletions .travis-deploy-snapshot.json
@@ -0,0 +1,15 @@
{
"package": {
"name": "buildkit",
"repo": "cryptomator",
"subject": "cryptomator"
},
"version": {
"name": "snapshot"
},
"files":
[
{"includePattern": "main/buildkit/target/(buildkit-[a-z]+\\.zip)", "uploadPattern": "/snapshot/$1", "matrixParams": {"override": 1}}
],
"publish": true
}
41 changes: 11 additions & 30 deletions .travis.yml
@@ -1,7 +1,7 @@
language: java
sudo: false
jdk:
- oraclejdk9
- openjdk11
cache:
directories:
- $HOME/.m2
Expand Down Expand Up @@ -34,40 +34,21 @@ before_deploy:
mvn -fmain/pom.xml org.codehaus.mojo:versions-maven-plugin:set -DnewVersion=SNAPSHOT-$(echo $TRAVIS_COMMIT | head -c7)
fi
- mvn -fmain/pom.xml clean package -Prelease -DskipTests
- export TODAY=`date +'%Y-%m-%d'`; envsubst '$TRAVIS_TAG $TODAY' < .travis-deploy-release.tmpl.json > .travis-deploy-release.json
deploy:
- provider: script # SNAPSHOTS
- provider: bintray # SNAPSHOTS
file: .travis-deploy-snapshot.json
user: cryptobot
key: $BINTRAY_API_KEY
skip_cleanup: true
script: >-
curl -T main/ant-kit/target/antkit.zip
-u cryptobot:${BINTRAY_API_KEY}
-H "X-Bintray-Package:ant-kit"
-H "X-Bintray-Version:continuous"
-H "X-Bintray-Override:1"
-H "X-Bintray-Publish:1"
https://api.bintray.com/content/cryptomator/cryptomator/antkit-continuous.zip
on:
repo: cryptomator/cryptomator
branch: develop
condition: $TRAVIS_TAG = ''
- provider: releases # RELEASE
prerelease: false
api_key: $GITHUB_API_KEY
file:
- "main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar"
- provider: bintray # RELEASES
file: .travis-deploy-release.json
user: cryptobot
key: $BINTRAY_API_KEY
skip_cleanup: true
on:
repo: cryptomator/cryptomator
tags: true
- provider: script
skip_cleanup: true
script: >-
curl -T main/ant-kit/target/antkit.zip
-u cryptobot:${BINTRAY_API_KEY}
-H "X-Bintray-Package:ant-kit"
-H "X-Bintray-Version:${TRAVIS_TAG}"
-H "X-Bintray-Override:1"
-H "X-Bintray-Publish:1"
https://api.bintray.com/content/cryptomator/cryptomator/antkit-${TRAVIS_TAG}.zip
on:
repo: cryptomator/cryptomator
tags: true
tags: true
99 changes: 0 additions & 99 deletions main/ant-kit/pom.xml

This file was deleted.

52 changes: 0 additions & 52 deletions main/ant-kit/src/main/resources/build.xml

This file was deleted.

26 changes: 10 additions & 16 deletions main/ant-kit/assembly.xml → main/buildkit/assembly-linux.xml
Expand Up @@ -8,31 +8,25 @@
</formats>
<fileSets>
<fileSet>
<directory>target/libs</directory>
<directory>target/</directory>
<includes>
<include>*.jar</include>
<include>version.txt</include>
</includes>
<outputDirectory>libs</outputDirectory>
</fileSet>
<fileSet>
<directory>target/fixed-binaries</directory>
<filtered>false</filtered>
<outputDirectory>fixed-binaries</outputDirectory>
<fileMode>755</fileMode>
</fileSet>
<fileSet>
<directory>target/package</directory>
<filtered>false</filtered>
<outputDirectory>package</outputDirectory>
<directory>target/libs</directory>
<includes>
<include>*.jar</include>
</includes>
<outputDirectory>libs</outputDirectory>
</fileSet>
<fileSet>
<directory>target</directory>
<directory>target/linux-libs</directory>
<includes>
<include>build.xml</include>
<include>logback.xml</include>
<include>*.jar</include>
</includes>
<filtered>false</filtered>
<outputDirectory>.</outputDirectory>
<outputDirectory>libs</outputDirectory>
</fileSet>
</fileSets>
</assembly>
32 changes: 32 additions & 0 deletions main/buildkit/assembly-mac.xml
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>tarball</id>
<includeBaseDirectory>false</includeBaseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>target/</directory>
<includes>
<include>version.txt</include>
</includes>
<outputDirectory>libs</outputDirectory>
</fileSet>
<fileSet>
<directory>target/libs</directory>
<includes>
<include>*.jar</include>
</includes>
<outputDirectory>libs</outputDirectory>
</fileSet>
<fileSet>
<directory>target/mac-libs</directory>
<includes>
<include>*.jar</include>
</includes>
<outputDirectory>libs</outputDirectory>
</fileSet>
</fileSets>
</assembly>

0 comments on commit 6aafa7b

Please sign in to comment.