Skip to content

Commit

Permalink
Merge pull request #2 from cardinal-app/develop
Browse files Browse the repository at this point in the history
[CARD-45] Commit -SNAPSHOT bump to gradle.props
  • Loading branch information
jrsmth authored Mar 12, 2024
2 parents 6a1ed45 + a49c9e6 commit ab38530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/step-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab38530

Please sign in to comment.