瀏覽代碼

clean target dir before re-building for deployment

Sebastian Stenzel 7 年之前
父節點
當前提交
db3dabe3c5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -41,11 +41,11 @@ before_deploy:
   else
     mvn -fmain/pom.xml org.codehaus.mojo:versions-maven-plugin:set -DnewVersion=SNAPSHOT-$TRAVIS_COMMIT
     git tag -f continuous
-    git remote add gh https://cryptobot:${GITHUB_API_KEY}@github.com/cryptomator/cryptomator.git &2>/dev/null
+    git remote add gh https://cryptobot:${GITHUB_API_KEY}@github.com/cryptomator/cryptomator.git
     git push -f gh continuous
     git remote remove gh
   fi
-- mvn -fmain/pom.xml -Prelease package -DskipTests
+- mvn -fmain/pom.xml clean package -Prelease -DskipTests
 deploy:
 - provider: releases # CONTINUOUS
   prerelease: true