diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf39917..50af08f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: with: node-version: "lts/*" - name: Install semantic-release - run: npm install -g semantic-release @semantic-release/github @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator @semantic-release/changelog @droidsolutions-oss/semantic-release-update-file + run: npm install -g semantic-release @semantic-release/github @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator @semantic-release/changelog semantic-release-plugin-update-version-in-files - name: Release env: GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.releaserc b/.releaserc index f505acb..20cfc27 100644 --- a/.releaserc +++ b/.releaserc @@ -18,15 +18,12 @@ } ], [ - "@droidsolutions-oss/semantic-release-update-file", + "semantic-release-plugin-update-version-in-files", { "files": [ - { - "path": ["custom_components/fujitsu_airstage/manifest.json"], - "type": "json", - "replacements": [{ "key": "version", "value": "${nextRelease.version}" }] - } - ] + "custom_components/fujitsu_airstage/manifest.json" + ], + "placeholder": "0.0.0-development" } ], "@semantic-release/github",