File tree Expand file tree Collapse file tree 2 files changed +2
-174
lines changed
Expand file tree Collapse file tree 2 files changed +2
-174
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,15 @@ jobs:
2121
2222 - name : Update README with latest commit id and push to repo
2323 run : |
24- npm install -g mustache
25- touch data.json
26- echo "{\"SERVER_VERSION\": \"${{ github.event.client_payload.version }}\"}" > data.json
24+ echo "SERVER_VERSION:" ${{ github.event.client_payload.version }}
2725 git config --global user.name "GitHub Actions"
2826 git config --global user.email "[email protected] " 2927 git status
3028 BRANCH_NAME=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
3129 git pull --rebase origin main
3230 git checkout -b run-test-upstream-${{ github.event.client_payload.version }}
3331 git pull --rebase origin main
34- cat data.json
35- mustache data.json template.mustache > README_new.md
36- mv README_new.md README.md
37- rm -rf data.json
32+ sed -i "s/appium_flutter_server: [0-9]*\.[0-9]*\.[0-9]*/appium_flutter_server: ${{ github.event.client_payload.version }}/" README.md
3833 git add README.md
3934 git commit -m "Update README with latest commit ID - ${{ github.event.client_payload.version }}"
4035 git push -u origin run-test-upstream-${{ github.event.client_payload.version }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments