{ "dependencies": { "@google/semantic-release-replace-plugin": "^1.0.2", "@semantic-release/changelog": "^5.0.1", "@semantic-release/exec": "^5.0.0", "@semantic-release/git": "^9.0.0", "is-ci": "^3.0.0", "semantic-release": "^17.4.1" }, "devDependencies": { "@commitlint/cli": "^12.0.1", "@commitlint/config-conventional": "^12.0.1", "commitlint": "^12.0.1", "husky": "^5.1.3", "pinst": "^2.1.6" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release": { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", [ "@google/semantic-release-replace-plugin", { "replacements": [ { "files": ["gradle.properties"], "from": "version=.*", "to": "version=${nextRelease.version}", "results": [ { "file": "gradle.properties", "hasChanged": true, "numMatches": 1, "numReplacements": 1 } ], "countMatches": true } ] } ], [ "@semantic-release/exec", { "prepareCmd": "ci/prepare-release.sh ${nextRelease.version} ${nextRelease.channel}", "publishCmd": "ci/publish-dockerhub.sh ${nextRelease.version} ${nextRelease.channel}" } ], [ "@semantic-release/git", { "assets": [ "gradle.properties", "CHANGELOG.md", "komga/docs/openapi.json" ] } ], [ "@semantic-release/github", { "assets": [ { "path": "komga/build/libs/*.jar" } ] } ] ] }, "scripts": { "prepare": "is-ci || husky install", "postinstall": "is-ci || husky install", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" } }