Hotfix/seperate fms and negative distance (#134) #68
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: update-signage-version | |
| on: | |
| push: | |
| branches: | |
| - beta/** | |
| jobs: | |
| update-signage-version: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Update signage version | |
| working-directory: signage_version/resource | |
| run: | | |
| version=$(echo ${{ github.ref }} | sed -e "s/.*\/v//") | |
| cat version.json | jq .version=\"$version\" > version.json.temp | |
| mv version.json.temp version.json | |
| - name: Commit and push | |
| run: | | |
| if ! git diff --exit-code --quiet | |
| then | |
| git config user.name github-actions | |
| git config user.email github-actions@github.com | |
| git add . | |
| git commit -m "Update signage version" | |
| git push | |
| fi |