salesforce / eslint-plugin-lwc

Official ESLint rules for LWC
MIT License
98 stars 32 forks source link

chore: add release scripts #93

Closed jye-sf closed 2 years ago

jye-sf commented 2 years ago

One step closer to a 1-button release process. The remaining work involves git automation around branch protection, pushing the actual changes to the remote, and changelog generation.

jye-sf commented 2 years ago

The current general release process for our repos will be:

// Version update
yarn release:version

// github related tasks
git push origin <branch>
git push origin <tag>

// Publish
yarn release:publish

Github related tasks require unlocking and re-locking branch protections. Will look into having CircleCI handle that.

jye-sf commented 2 years ago

https://app.circleci.com/pipelines/github/salesforce/eslint-plugin-lwc/281/workflows/a3b90f6a-e1a7-4823-9313-7d8f5e5afa24/jobs/384 for sample dry run of the deploy job.

jye-sf commented 2 years ago

With the CircleCI script, our general release process should now be:

// Version update
yarn release:version

// github related tasks
git push origin <branch>
git push origin <tag>

// Manually create release with release notes

CircleCI should now handle the publish.

jye-sf commented 2 years ago

Work to automate changelog generation and release notes will be done in a separate PR.