File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -122,17 +122,24 @@ npm run watch-lib # use when you want to build the library for local use; it wil
122
122
```
123
123
124
124
## Cutting a New Release
125
- A git tag should exist for every release. We use `release-it` to automate the coordination of package.json and git tag.
125
+ A git tag should exist for every semver release. We use `release-it` to automate the coordination of package.json and git tag.
126
+
127
+ 1. run `npm run release`. You' ll be entered into an interactive session with the following prompts:
128
+ ` ` ` bash
129
+ ? Select increment # You will be prompted to select a release type, e.g. patch
130
+ ? Publish @scientist-softserv/webstore-component-library to npm? # Yes
131
+ ? Please enter OTP for npm: # This is stored in 1password
132
+ ? Commit (chore: release vX.X.X)? # Yes
133
+ ? Tag (X.X.X)? # Yes
134
+ ? Push? # Yes
135
+ ` ` `
126
136
127
- If you want to release a new semver release run `npm run release`. You' ll be entered into an interactive session with the following prompts:
128
- ` ` ` bash
129
- ? Select increment (You will be prompted to select a release type, e.g. patch)
130
- ? Publish @scientist-softserv/webstore-component-library to npm? (Yes)
131
- ? Please enter OTP for npm: (This is stored in 1password)
132
- ? Commit (chore: release vX.X.X)? (Yes)
133
- ? Tag (X.X.X)? (Yes)
134
- ? Push? (Yes)
135
- ` ` `
137
+ 2. When the above completes, [create the release notes](https: // github.com/scientist-softserv/webstore-component-library/releases/new).
138
+ - Choose the tag that was just released
139
+ - Set the title of the release to be the newly released version
140
+ - e .g . " 0.1.16"
141
+ - Click the " Generate release notes" button above the text field
142
+ - Click the " Publish release" button beneath the text field
136
143
137
144
## Authors and acknowledgment
138
145
Alisha Evans
You can’t perform that action at this time.
0 commit comments