Skip to content

Commit

Permalink
Fix workflow bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Sep 21, 2020
1 parent eb1a668 commit e80931e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ jobs:
git config --global user.email "release@GitHub"
- name: "Set version number"
working-directory: ./custom_components/${{ env.package }}
run: |
sed -i '/VERSION = /c\VERSION = "${{ env.release_version }}"' ${{ env.basedir }}/const.py
sed -i '/VERSION = /c\VERSION = "${{ env.release_version }}"' __init__.py
sed -i '/VERSION = /c\VERSION = "${{ env.release_version }}"' const.py
- name: "Zip component dir"
working-directory: ./custom_components/${{ env.package }}
Expand Down

0 comments on commit e80931e

Please sign in to comment.