Skip to content

Commit

Permalink
chore: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 authored Jul 13, 2024
1 parent 1c983a5 commit ba00992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: "Set version numbmer"
run: |
sed -i '/VERSION = /c\VERSION = "${{ steps.get_version.outputs.VERSION }}"' ${{ github.workspace }}/custom_components/mail_and_packages/const.py
sed -i '/\bVERSION\b = /c\VERSION = "${{ steps.get_version.outputs.VERSION }}"' ${{ github.workspace }}/custom_components/mail_and_packages/const.py
sed -i '/version/c\ \"version\": \"${{ steps.get_version.outputs.VERSION }}\"' ${{ github.workspace }}/custom_components/mail_and_packages/manifest.json
# Pack the mail_and_packages dir as a zip and upload to the release
- name: ZIP MnP Dir
Expand All @@ -32,4 +32,4 @@ jobs:
file: ${{ github.workspace }}/custom_components/mail_and_packages/mail_and_packages.zip
asset_name: mail_and_packages.zip
tag: ${{ github.ref }}
overwrite: true
overwrite: true

0 comments on commit ba00992

Please sign in to comment.