Skip to content

Commit

Permalink
HACS: test with filename
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-gs committed Jun 3, 2024
1 parent 32229c7 commit 09251ce
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
scripts.release.exec = ''
devenv test
npm run build
outstanding_changes=$(git status --porcelain=v1 2>/dev/null | wc -l)
if [ $outstanding_changes -gt 0 ];
then
echo Aborting, uncommitted changes.
git status
exit 1
fi
VERSION=$(get-version)
sed -i "s/HA_MAP_CARD_VERSION/$VERSION/" dist/map-card.js
Expand Down
3 changes: 2 additions & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "map-card",
"render_readme": true
"render_readme": true,
"filename":"map-card.js"
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ha-map-card",
"version": "1.0.0",
"version": "1.0.1",
"description": "A better Map Card for Home Assistant",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit 09251ce

Please sign in to comment.