diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ce35ad0..74ba5e6 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,7 +15,7 @@ jobs:
           sed -i '/VERSION = /c\VERSION = "${{ github.ref }}"' custom_components/anniversaries/const.py
           sed -i 's|refs/heads/||' custom_components/anniversaries/const.py
           sed -i 's|refs/tags/||' custom_components/anniversaries/const.py
-          sed -i '  "version": /c\  "version": "${{ github.ref }}"' custom_components/anniversaries/manifest.json
+          sed -i 's|"version": "1.0.0"|"version": "${{ github.ref }}"|' custom_components/anniversaries/manifest.json
           sed -i 's|refs/heads/||' custom_components/anniversaries/manifest.json
           sed -i 's|refs/tags/||' custom_components/anniversaries/manifest.json
       # Pack the HACS dir as a zip and upload to the release