Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
llorllale committed May 31, 2018
1 parent a92961f commit f4f4f10
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -20,7 +20,8 @@ jobs:
mvn -DskipTests=true cobertura:check-integration-test &&
bash <(curl -s https://codecov.io/bash)
- if: type = push AND branch = master
script: mvn -P release-profile clean install &&
script: git fetch --tags &&
mvn -P release-profile clean install &&
mvn -P integration-tests clean cobertura:cobertura-integration-test &&
mvn -DskipTests=true cobertura:check-integration-test &&
bash <(curl -s https://codecov.io/bash) &&
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -22,7 +22,7 @@

<groupId>org.llorllale</groupId>
<artifactId>youtrack-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<packaging>jar</packaging>

Expand Down
4 changes: 2 additions & 2 deletions release/deploy.sh
Expand Up @@ -52,13 +52,13 @@ is_snapshot()
project_version=$(project_version)
is_snapshot=$(is_snapshot)

if [ $is_snapshot ]; then
if [ $is_snapshot == 1 ]; then
release_version=$(release_candidate_version)
$MVN versions:set -DnewVersion=$release_version > /dev/null
else
release_version=$project_version
$MVN loggit:changelog -Dloggit.startTag=$(git tag --list | tail -2 | head -1)
$MVN releasecat:upload -Dreleasecat.token=$site_token -Dreleasecat.tag=$TRAVIS_TAG -Dreleasecat.name=$TRAVIS_TAG
$MVN releasecat:upload -Dreleasecat.token=$site_token -Dreleasecat.tag=$release_version -Dreleasecat.name=$release_version
fi

echo project version: $project_version
Expand Down

0 comments on commit f4f4f10

Please sign in to comment.