Skip to content

Commit

Permalink
fix: remove changelog branch from ci (#372)
Browse files Browse the repository at this point in the history
* fix: remove changelog branch from ci

* fix: release on tag only
  • Loading branch information
Praveen Yadav authored Oct 4, 2023
1 parent efb2fd9 commit 3bd9e5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 31 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sdk.yml → .github/workflows/js-sdk.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: sdk
name: js-sdk

on:
push:
branches:
- main
tags:
- "v*.*.*"
workflow_dispatch:

jobs:
release:
Expand Down
24 changes: 2 additions & 22 deletions sdks/js/packages/core/.releaserc
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
{
"debug": true,
"branches": [
"main",
"changelog"
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
"@semantic-release/npm"
]
}
6 changes: 0 additions & 6 deletions sdks/js/packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,7 @@
"devDependencies": {
"@radix-ui/react-icons": "^1.3.0",
"@raystack/frontier-tsconfig": "workspace:^",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.0.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.1",
"@semantic-release/npm": "^11.0.0",
"@semantic-release/release-notes-generator": "^12.0.0",
"@size-limit/preset-small-lib": "^8.2.6",
"@tanstack/react-table": "^8.10.1",
"@types/node": "^20.6.3",
Expand Down

0 comments on commit 3bd9e5a

Please sign in to comment.