Skip to content

Commit e6f3fe3

Browse files
committed
ci: 💚 added semantic release config files
1 parent 0605c87 commit e6f3fe3

6 files changed

Lines changed: 40 additions & 1 deletion

File tree

.releaserc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"branches": [
3+
"next"
4+
],
5+
"plugins": [
6+
"@semantic-release/commit-analyzer",
7+
[
8+
"semantic-release/exec",
9+
{
10+
"prepareCmd": "node update_version.js ${nextRelease.version}"
11+
}
12+
]
13+
"@semantic-release/release-notes-generator",
14+
[
15+
"@semantic-release/changelog",
16+
{
17+
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be document in this file. See\n[Conventional Commits](https://conventionalcommits.org) for more information."
18+
}
19+
],
20+
[
21+
"@semantic-release/git",
22+
{
23+
"message": "chore(release): :wrench: Release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
24+
}
25+
],
26+
'@semantic-release/github'
27+
]
28+
}

.releaserc.backup

Whitespace-only changes.

.sentryclirc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
[auth]
3+
token=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

CHANGELOG.md

Whitespace-only changes.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"postcss": "^8.5.2",
6161
"tailwindcss": "^4.0.14",
6262
"typescript": "~5.7.2"
63-
}
63+
},
64+
"packageManager": "pnpm@10.17.1+sha512.17c560fca4867ae9473a3899ad84a88334914f379be46d455cbf92e5cf4b39d34985d452d2583baf19967fa76cb5c17bc9e245529d0b98745721aa7200ecaf7a"
6465
}

update_version.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const fs = require('fs');
2+
const packageJson = fs.readFileSync('package.json');
3+
4+
const releaseDate = new Date().toISOString().split('T')[0];
5+
packageJson.releaseDate = releaseDate;
6+
7+
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));

0 commit comments

Comments
 (0)