Skip to content

Commit ed4b45a

Browse files
f-gallandJorgesnchz
authored andcommitted
Switch to VERSION.json format (#22)
1 parent 4e10c88 commit ed4b45a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
- name: Get version
5858
id: version
59-
run: echo "version=$(<VERSION)" >> "$GITHUB_OUTPUT"
59+
run: echo "version=$(jq -r .version<VERSION.json)" >> "$GITHUB_OUTPUT"
6060

6161
- name: Build with Gradle
6262
run: ./gradlew build -Dversion=${{ steps.version.outputs.version }} -Drevision=${{ inputs.revision }}

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

VERSION.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"version": "5.0.0",
3+
"stage": "alpha1"
4+
}

0 commit comments

Comments
 (0)