summaryrefslogtreecommitdiff
path: root/.releaserc.json
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-03-23 17:11:39 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2025-04-05 21:16:51 +0200
commit0ab2e5ba2b0631b28b5b1405559237b3913c878f (patch)
tree791cea788b0a62bc483d0041fbd0c655d2ad49e8 /.releaserc.json
feat: initialize Phoenix application for weather alerts
This commit sets up the initial Silmataivas project structure, including: Phoenix web framework configuration, database models for users and locations, weather polling service, notification system, Docker and deployment configurations, CI/CD pipeline setup
Diffstat (limited to '.releaserc.json')
-rw-r--r--.releaserc.json51
1 files changed, 51 insertions, 0 deletions
diff --git a/.releaserc.json b/.releaserc.json
new file mode 100644
index 0000000..dd9e173
--- /dev/null
+++ b/.releaserc.json
@@ -0,0 +1,51 @@
+{
+ "branches": ["main"],
+ "plugins": [
+ ["@semantic-release/commit-analyzer", {
+ "preset": "angular",
+ "releaseRules": [
+ {"type": "feat", "release": "minor"},
+ {"type": "fix", "release": "patch"},
+ {"type": "perf", "release": "patch"},
+ {"type": "docs", "release": "patch"},
+ {"type": "style", "release": "patch"},
+ {"type": "refactor", "release": "patch"},
+ {"type": "test", "release": "patch"},
+ {"type": "chore", "release": "patch"},
+ {"scope": "breaking", "release": "major"}
+ ],
+ "parserOpts": {
+ "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
+ }
+ }],
+ ["@semantic-release/release-notes-generator", {
+ "preset": "angular",
+ "parserOpts": {
+ "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
+ },
+ "writerOpts": {
+ "commitsSort": ["scope", "subject"]
+ }
+ }],
+ ["@semantic-release/changelog", {
+ "changelogFile": "CHANGELOG.md"
+ }],
+ ["@semantic-release/npm", {
+ "npmPublish": false
+ }],
+ ["@semantic-release/git", {
+ "assets": ["CHANGELOG.md", "mix.exs", "VERSION"],
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
+ }],
+ ["@semantic-release/gitlab", {
+ "assets": [
+ {"path": "CHANGELOG.md", "label": "Changelog"},
+ {"path": "VERSION", "label": "Version file"}
+ ]
+ }],
+ ["@semantic-release/exec", {
+ "verifyConditionsCmd": "echo 'Verification passed'",
+ "prepareCmd": "echo ${nextRelease.version} > VERSION && sed -i 's/version: \"[^\"]*\"/version: \"${nextRelease.version}\"/g' mix.exs"
+ }]
+ ]
+}