Skip to content

Commit

Permalink
Merge pull request #90 from craigatk/release-version
Browse files Browse the repository at this point in the history
(fix) Including release version in .jar that gets published
  • Loading branch information
craigatk committed May 10, 2020
2 parents ee647e7 + 1d2ae10 commit c0d37ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
DB_URL: "jdbc:postgresql://localhost:5432/projektordb"
CACHE_ACCESS_KEY: ${{ secrets.CACHE_ACCESS_KEY }}
CACHE_SECRET_KEY: ${{ secrets.CACHE_SECRET_KEY }}
run: ./gradlew :functional-test:functionalTest
run: ./gradlew :functional-test:functionalTest -PreleaseVersion=${{ env.RELEASE_VERSION }}

- name: Create Release
id: create_release
Expand Down
1 change: 1 addition & 0 deletions server/server-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ task writeVersion() {
outputs.cacheIf { true }

doLast {
println "Writing server version $projectVersion"
new File("$projectDir/src/main/resources/version.json").text = """{
"version": "$projectVersion"
}"""
Expand Down

0 comments on commit c0d37ee

Please sign in to comment.