ci: release only stable on master branch

This commit is contained in:
Divlo 2022-08-26 22:48:52 +02:00
parent 5c49f94b53
commit 52081972e9
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
3 changed files with 3 additions and 6 deletions

View File

@ -2,7 +2,7 @@ name: 'Release'
on: on:
push: push:
branches: [master, develop] branches: [master]
jobs: jobs:
build: build:

View File

@ -1,8 +1,5 @@
{ {
"branches": [ "branches": ["master"],
"master",
{ "name": "develop", "prerelease": "beta", "channel": "beta" }
],
"plugins": [ "plugins": [
[ [
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",

View File

@ -17,7 +17,7 @@
"bugs": { "bugs": {
"url": "https://github.com/Divlo/react-component-form/issues" "url": "https://github.com/Divlo/react-component-form/issues"
}, },
"homepage": "https://github.com/Divlo/react-component-form", "homepage": "https://react-component-form.vercel.app/",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"files": [ "files": [