From a49c9e640a65bc4fceecd4f4479088fc0ff51a2e Mon Sep 17 00:00:00 2001 From: jrsmth-tier2 Date: Tue, 12 Mar 2024 16:32:24 +0000 Subject: [PATCH] [CARD-45] Commit -SNAPSHOT bump to gradle.props --- .github/workflows/step-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/step-release.yaml b/.github/workflows/step-release.yaml index 9a5a885..c6bd800 100644 --- a/.github/workflows/step-release.yaml +++ b/.github/workflows/step-release.yaml @@ -32,7 +32,7 @@ jobs: - name: Add -SNAPSHOT 📷 run: | cat gradle.properties | jq -R -s 'split("\n") | map(select(length > 0)) | map(select(startswith("#") | not)) | map(split("=")) | map({(.[0]): .[1]}) | add' >> gradle.json - jq '.version="${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCHED }}-SNAPSHOT"' gradle.json + jq '.version="${{ env.MAJOR }}.${{ env.MINOR }}.${{ env.PATCHED }}-SNAPSHOT"' gradle.json > /tmp/gradle.json rm gradle.properties jq -r 'to_entries[]|"\(.key)=\(.value)"' gradle.json >> gradle.properties rm gradle.json