Skip to content

Commit

Permalink
fix(ci): Adjust release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-w committed Apr 15, 2022
1 parent 215294e commit 6b07199
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
cache: npm
node-version: 16
cache-dependency-path: frontend/package-lock.json
- run: cd frontend && npm ci
- run: |
mkdir -p dist/
cd custom_components/knx_panel
zip ../../dist/knx_panel.zip ./*
- run: npx semantic-release
- run: |
cd frontend
npm ci
npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
}],
["semantic-release-plugin-update-version-in-files", {
"files": [
"frontend/package.json",
"custom_components/knx_panel/manifest.json"
],
"placeholder": "0.0.0"
Expand Down

0 comments on commit 6b07199

Please sign in to comment.