Skip to content

Commit

Permalink
Automatic release on merge (#5347)
Browse files Browse the repository at this point in the history
  • Loading branch information
acywatson authored Dec 7, 2023
1 parent 1a3c911 commit 44ab40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
if: contains(github.ref, '-next.')
if: endsWith(github.ref, '__release')
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"increment-version": "node ./scripts/npm/increment-version",
"update-changelog": "node ./scripts/npm/update-changelog",
"update-version": "node ./scripts/updateVersion",
"postversion": "git checkout -b $npm_package_version && npm install && npm run update-version && npm run update-changelog && git add -A && git commit -m v${npm_package_version} && git tag -a v${npm_package_version} -m v${npm_package_version}",
"postversion": "git checkout -b ${npm_package_version}__release && npm install && npm run update-version && npm run update-changelog && git add -A && git commit -m v${npm_package_version} && git tag -a v${npm_package_version} -m v${npm_package_version}",
"release": "npm run prepare-release && node ./scripts/npm/release.js",
"size": "npm run build && size-limit"
},
Expand Down

2 comments on commit 44ab40e

@vercel
Copy link

@vercel vercel bot commented on 44ab40e Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical – ./packages/lexical-website

lexical-git-main-fbopensource.vercel.app
lexical-fbopensource.vercel.app
lexical.dev
www.lexical.dev
lexicaljs.com
lexicaljs.org

@vercel
Copy link

@vercel vercel bot commented on 44ab40e Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical-playground – ./packages/lexical-playground

lexical-playground-fbopensource.vercel.app
playground.lexical.dev
lexical-playground-git-main-fbopensource.vercel.app
lexical-playground.vercel.app

Please sign in to comment.