Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build and Release
on:
push:
branches: [main]
paths:
- 'apps/chat/**'
- '.github/workflows/release.yaml'
- '.releaserc.json'
# paths:
# - 'apps/chat/**'
# - '.github/workflows/release.yaml'
# - '.releaserc.json'

jobs:
build-and-release:
Expand Down
70 changes: 62 additions & 8 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"branches": ["main"],
"branches": [
"main",
{"name": "beta", "prerelease": true},
{"name": "alpha", "prerelease": true}
],
"repositoryUrl": "https://github.com/justgithubaccount/app-release",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{"type": "feat", "release": "minor"},
{"type": "fix", "release": "patch"},
Expand All @@ -12,26 +18,74 @@
{"type": "docs", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "tst", "release": "patch"},
{"type": "tst-cd", "release": "patch"},
{"type": "tst-ci", "release": "patch"},
{"type": "test", "release": "patch"},
{"type": "ci", "release": "patch"},
{"type": "chore", "release": "patch"},
{"type": "build", "release": "patch"},
{"breaking": true, "release": "major"}
]
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "🚀 Features"},
{"type": "fix", "section": "🐛 Bug Fixes"},
{"type": "perf", "section": "⚡ Performance Improvements"},
{"type": "revert", "section": "⏪ Reverts"},
{"type": "docs", "section": "📚 Documentation"},
{"type": "style", "section": "💄 Styles"},
{"type": "refactor", "section": "♻️ Code Refactoring"},
{"type": "test", "section": "✅ Tests"},
{"type": "ci", "section": "🔧 CI/CD"},
{"type": "chore", "section": "🏗️ Chores"},
{"type": "build", "section": "📦 Build System"}
]
}
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"assets": [
{
"path": "chat-*.tgz",
"path": "charts/chat/chat-*.tgz",
"label": "Helm Chart"
},
{
"path": "CHANGELOG.md",
"label": "Changelog"
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}
37 changes: 37 additions & 0 deletions .releaserc.json.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"branches": ["main"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{"type": "feat", "release": "minor"},
{"type": "fix", "release": "patch"},
{"type": "perf", "release": "patch"},
{"type": "revert", "release": "patch"},
{"type": "docs", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "tst", "release": "patch"},
{"type": "tst-cd", "release": "patch"},
{"type": "tst-ci", "release": "patch"},
{"type": "ci", "release": "patch"},
{"type": "chore", "release": "patch"},
{"breaking": true, "release": "major"}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"assets": [
{
"path": "chat-*.tgz",
"label": "Helm Chart"
}
]
}
]
]
}
14 changes: 14 additions & 0 deletions clusters/dev/bootstrap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# clusters/dev/bootstrap.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root-app-dev
namespace: argocd
spec:
source:
repoURL: https://github.com/justgithubaccount/app-release.git
path: platform/core/cluster-bootstrap
targetRevision: main
destination:
server: https://kubernetes.default.svc
namespace: argocd
Empty file.
Empty file.
Empty file added clusters/prd/bootstrap.yaml
Empty file.
Empty file.
Empty file.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
},
"homepage": "https://github.com/justgithubaccount/app-release#readme",
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.3",
"@semantic-release/release-notes-generator": "^14.0.3",
"semantic-release": "^24.2.7"
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading