salesforce / eslint-config-lwc

Opinionated ESLint configurations for LWC projects
MIT License
112 stars 35 forks source link

chore: add release scripts #94

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.

nolanlawson commented 2 years ago

Might be worth adding something to the README. Unless there's no point because we're just going to add Circle CI scripts soon. 🙂

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 git push origin

// Manually create release with release notes CircleCI should now handle the publish.