Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 authored Dec 8, 2023
1 parent 4db934d commit 01747f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:

- name: "Set version numbmer"
run: |
sed -i '/VERSION = /c\VERSION = "${{ steps.get_version.outputs.VERSION }}"' ${{ github.workspace }}/custom_components/ha-gasbuddy/const.py
sed -i '/version/c\ \"version\": \"${{ steps.get_version.outputs.VERSION }}\",' ${{ github.workspace }}/custom_components/ha-gasbuddy/manifest.json
sed -i '/VERSION = /c\VERSION = "${{ steps.get_version.outputs.VERSION }}"' ${{ github.workspace }}/custom_components/gasbuddy/const.py
sed -i '/version/c\ \"version\": \"${{ steps.get_version.outputs.VERSION }}\",' ${{ github.workspace }}/custom_components/gasbuddy/manifest.json
# Pack the ha-gasbuddy dir as a zip and upload to the release
- name: Create Zip File
run: |
cd ${{ github.workspace }}/custom_components/ha-gasbuddy
cd ${{ github.workspace }}/custom_components/gasbuddy
zip ha-gasbuddy.zip -r ./
- name: Upload zip to release
uses: svenstaro/upload-release-action@v1-release
Expand Down

0 comments on commit 01747f2

Please sign in to comment.