Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed May 18, 2020
1 parent 3c89102 commit 07631a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ gradle-app.setting
.idea/
out/
src/test/*
version.txt
flight.txt
*.log
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apply plugin: 'kotlin'
apply plugin: 'com.github.johnrengelman.shadow'

group 'me.devoxin'
version '2.0.4'
version '2.0.5'
sourceCompatibility = 1.8

repositories {
Expand Down Expand Up @@ -57,7 +57,7 @@ task writeVersion() {
resources.mkdirs()
}

file("$resourcePath/version.txt").text = getBuildVersion()
file("$resourcePath/flight.txt").text = getBuildVersion()
}

build {
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/me/devoxin/flight/FlightInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object FlightInfo {
val GIT_REVISION: String

init {
val stream = FlightInfo::class.java.classLoader.getResourceAsStream("version.txt")!!
val stream = FlightInfo::class.java.classLoader.getResourceAsStream("flight.txt")!!
val reader = InputStreamReader(stream).readText()
val (buildVersion, buildRevision) = reader.split('\n')

Expand Down

0 comments on commit 07631a7

Please sign in to comment.