Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Sep 8, 2019
1 parent d5a9eb1 commit 6357507
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ script:
- |
if [ "$TRAVIS_TEST_RESULT" == 0 ] && [ "$TRAVIS_JDK_VERSION" == oraclejdk8 ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
sonar-scanner \
-Dsonar.projectVersion=0.4.0-SNAPSHOT \
-Dsonar.projectVersion=1.0.0 \
-Dsonar.projectKey=robstoll_niok \
-Dsonar.kotlin.detekt.reportPaths=build/detekt/detekt-checkstyle.xml \
-Dsonar.sources=src/main/kotlin \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Download](https://api.bintray.com/packages/robstoll/tutteli-jars/niok/images/download.svg)](https://bintray.com/robstoll/tutteli-jars/niok/_latestVersion)
[![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0)
[![Build Status Travis](https://travis-ci.org/robstoll/niok.svg?branch=master)](https://travis-ci.org/robstoll/niok/branches)
[![Build Status Travis](https://travis-ci.org/robstoll/niok.svg?tag=v1.0.0)](https://travis-ci.org/robstoll/niok/branches)
[![Build status GitHub Actions](https://github.com/robstoll/niok/workflows/Windows/badge.svg)](https://github.com/robstoll/niok/actions/)
[![SonarCloud Status](https://sonarcloud.io/api/project_badges/measure?project=robstoll_niok&metric=alert_status)](https://sonarcloud.io/dashboard?id=robstoll_niok)

Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
buildscript {
project.group = 'ch.tutteli.niok'
project.version ='0.4.0-SNAPSHOT'
project.version ='1.0.0'
project.description = "API for java.nio.file in a Kotlin idiomatic way"

ext {
Expand Down Expand Up @@ -79,16 +79,16 @@ if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {
Release & deploy a commit
--------------------------------
1. search for X.Y.Z-SNAPSHOT and replace with X.Y.Z
1. search for X.Y.Z-SNAPSHOT and replace with X.Y.Z
2. update master:
a) point to the tag
1) search for `branch=master` and replace it with `branch=vX.Y.Z` (build status and coverage in README.md)
2) search for `tree/master` and replace it with `tree/vX.Y.Z` (README.md)
1) search for `branch=master` and replace it with `branch=vX.Y.Z` (build status in README.md)
2) search for `tree/master` and replace it with `tree/vX.Y.Z` (so far nowhere)
b) commit (modified .travis.yml, build.gradle and README.md)
c) git tag vX.Y.Z
d) git push origin vX.Y.Z
4. deploy to bintray:
a) ./gr publishToBintray
a) java -version 2>&1 | grep "version \"9" && ./gr clean publishToBintray
b) Log in to bintray, check and publish new jars
5. create release on github
Expand Down

0 comments on commit 6357507

Please sign in to comment.