Bugfix release automation (#9)

This commit is contained in:
Matt White
2021-01-08 16:40:53 +00:00
committed by GitHub
parent e8c481eac3
commit 089d1603f6
2 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -57,8 +57,10 @@ jobs:
jq '.version="${{ steps.semver.outputs.semver }}"' < ${{ github.workspace }}/teslamate/config.json > ${{ github.workspace }}/repo/teslamate/config.json
- name: Add changes to addon repo
run: |
git add .
git commit -m 'Update from hassio-addon-teslamate'
git push
if [ "$(git status -s)" ]; then
git add .
git commit -m 'Update from hassio-addon-teslamate'
git push
fi
working-directory: ${{ github.workspace }}/repo/teslamate