Skip to content

Commit

Permalink
Merge pull request #556 from wwahammy/add-git
Browse files Browse the repository at this point in the history
fix: Move release into its own file
  • Loading branch information
wwahammy authored Jan 4, 2025
2 parents 93c70c1 + 1f7a82d commit e2f48cb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
15 changes: 0 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,6 @@
"type": "git",
"url": "git+https://github.com/houdiniproject/react-i18n-currency-input.git"
},
"release": {
"branches": [
"main"
],
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"types": "./dist/index.d.ts",
"sideEffects": false,
"packageManager": "[email protected]",
Expand Down
20 changes: 20 additions & 0 deletions release.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
export default {
"branches": [
"main"
],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git", {
"assets": ["dist/**/*.{js,css}", "docs", "package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
};

0 comments on commit e2f48cb

Please sign in to comment.