Skip to content

Commit

Permalink
Adds a step in the github action to update the version number in the …
Browse files Browse the repository at this point in the history
…README
  • Loading branch information
christianrowlands committed Jan 18, 2024
1 parent 0903442 commit 978d160
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/doc_and_library_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
echo "${{ env.VERSION_NAME }}"
sed -i "s/version \"[^\"]*\"/version \"${{ env.VERSION_NAME }}\"/g" build.gradle
- name: Set version in README example
run: |
echo "${{ github.event.inputs.version }}"
sed -i "s/implementation 'com.craxiom:network-survey-messaging:[^\"]*\'/implementation 'com.craxiom:network-survey-messaging:${{ env.VERSION_NAME }}\'/g" README.md
- name: Install yq
uses: mikefarah/[email protected]

Expand Down

0 comments on commit 978d160

Please sign in to comment.