Skip to content

Commit

Permalink
Fix build version and release (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed Jan 25, 2024
1 parent 4e16da4 commit 3f63654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Grant permissions to gradlew
run: chmod +x gradlew
- name: Get build version
run: echo "build_version=$(./gradlew printVersion)" >> $GITHUB_ENV
run: echo "build_version=$(./gradlew -q printVersion)" >> $GITHUB_ENV
- name: Check tag matches project version
if: ${{ env.build_version != github.ref_name }}
run: exit 1
Expand All @@ -33,4 +33,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
gh release upload ${{ github.ref_name }} ./game/build/distributions/void-${{ github.ref_name }}.zip
gh release create ${{ github.ref_name }} ./game/build/distributions/void-${{ github.ref_name }}.zip
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")

group = "world.gregs.void"
version = "1.0.0"
version = "1.0.1"

java.sourceCompatibility = JavaVersion.VERSION_19
java.targetCompatibility = java.sourceCompatibility
Expand Down

0 comments on commit 3f63654

Please sign in to comment.