Skip to content

Commit

Permalink
add version to manifest (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkywafer authored Feb 26, 2021
1 parent 3192468 commit d07ee11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
sed -i 's|refs/heads/||' custom_components/calendarific/const.py
sed -i 's|refs/tags/||' custom_components/calendarific/const.py
sed -i 's|"version": "0.0.0"|"version": "${{ github.ref }}"|' custom_components/calendarific/manifest.json
sed -i 's|refs/heads/||' custom_components/calendarific/manifest.json
sed -i 's|refs/tags/||' custom_components/calendarific/manifest.json
# Pack the HACS dir as a zip and upload to the release
- name: ZIP Calendarific Dir
run: |
Expand Down
1 change: 1 addition & 0 deletions custom_components/calendarific/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"domain": "calendarific",
"name": "Calendarific",
"version": "0.0.0",
"documentation": "https://github.com/pinkywafer/Calendarific",
"dependencies": [],
"config_flow": true,
Expand Down

0 comments on commit d07ee11

Please sign in to comment.