Skip to content

Commit

Permalink
chore: add automatic backport release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Mar 15, 2024
1 parent 2f72152 commit b6ac315
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: release

on:
schedule:
- cron: '0 0 */3 * *'
push:
branches: [backport/v1]
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"test:ts": "ts-node test/typings/run.ts",
"prepare": "pnpm simple-git-hooks init",
"prepack": "pnpm build",
"release": "release publish",
"release": "release publish -p backport",
"postinstall": "node -e \"try{require('./config/scripts/postinstall')}catch(e){}\""
},
"lint-staged": {
Expand Down
4 changes: 2 additions & 2 deletions release.config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"profiles": [
{
"name": "latest",
"use": "pnpm publish --no-git-checks"
"name": "backport",
"use": "pnpm publish --no-git-checks --tag backport"
}
]
}

0 comments on commit b6ac315

Please sign in to comment.