Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,15 @@ jobs:

- name: Update README with latest commit id and push to repo
run: |
npm install -g mustache
touch data.json
echo "{\"SERVER_VERSION\": \"${{ github.event.client_payload.version }}\"}" > data.json
echo "SERVER_VERSION:" ${{ github.event.client_payload.version }}
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git status
BRANCH_NAME=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
git pull --rebase origin main
git checkout -b run-test-upstream-${{ github.event.client_payload.version }}
git pull --rebase origin main
cat data.json
mustache data.json template.mustache > README_new.md
mv README_new.md README.md
rm -rf data.json
sed -i "s/appium_flutter_server: [0-9]*\.[0-9]*\.[0-9]*/appium_flutter_server: ${{ github.event.client_payload.version }}/" README.md
git add README.md
git commit -m "Update README with latest commit ID - ${{ github.event.client_payload.version }}"
git push -u origin run-test-upstream-${{ github.event.client_payload.version }}
Expand Down
167 changes: 0 additions & 167 deletions template.mustache

This file was deleted.