Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 8e6ab46

Browse files
authored
Fix release config (#268)
* Fix release config * Add postversion command
1 parent 5336f83 commit 8e6ab46

File tree

3 files changed

+15
-36
lines changed

3 files changed

+15
-36
lines changed

.releaserc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"branches": [
3+
"+([0-9])?(.{+([0-9]),x}).x",
4+
"main",
5+
"next",
6+
"next-major",
7+
{ "name": "beta", "prerelease": true },
8+
{ "name": "alpha", "prerelease": true }
9+
],
10+
"plugins": ["@semantic-release/commit-analyzer"]
11+
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"generate": "npm run build:docs",
116116
"pregenerate": "npm run build:json-response-schemas",
117117
"lint": "prettier --check .",
118+
"postversion": "git push --follow-tags",
118119
"format": "prettier --write .",
119120
"format:check": "prettier --check .",
120121
"test": "DEBUG=testcontainers* && npm run build:json-response-schemas && ava",
@@ -125,5 +126,7 @@
125126
"seamapi": "./dist/cli/entry.js",
126127
"seam": "./dist/cli/entry.js"
127128
},
128-
"repository": "https://github.com/seamapi/javascript"
129+
"homepage": "https://github.com/seamapi/javascript",
130+
"bugs": "https://github.com/seamapi/javascript/issues",
131+
"repository": "seamapi/javascript"
129132
}

release.config.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)