Skip to content

Commit

Permalink
release script tweak (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
punxaphil authored Dec 12, 2024
1 parent 4338359 commit aba3f7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
cd /home/runner/work/custom-sonos-card/custom-sonos-card
npm install
npm run build
alias gsed=sed
sh create-dist-maxi-media-player.sh
- name: Create Release
Expand All @@ -51,6 +50,7 @@ jobs:
repository: punxaphil/maxi-media-player
token: ${{ secrets.PAT_TOKEN }}
path: mxmp

- name: setup git config
run: |
cd mxmp
Expand All @@ -59,10 +59,10 @@ jobs:
mkdir img
cp ../img/* img/
diff=$(git diff)
if [ ! -z $diff ]
if [ ! -z "$diff" ]
then
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "Johan Frick"
git config user.email "johan.frick@gmail.com"
git commit -am"updated README.md"
git push origin main
fi
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Do you like the Sonos Card? Support the project with a coffee ☕️

# Installation
## With HACS (recommended)
Recommended way of installing this card is with HACS (Home Assistant Community Store).
Recommended way of installing this card is with HACS [Home Assistant Community Store](https://hacs.xyz/).

## Without HACS
1. Download this file: custom-sonos-card.js
Expand Down

0 comments on commit aba3f7c

Please sign in to comment.