File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,17 @@ You may first want to edit swagger.yml to add your field or endpoint definitions
32
32
33
33
## Making PRs
34
34
35
- 1 . Don't bump the version number for ` swagger.yml ` changes. Do that during the release process.
35
+ 1 . Don't bump the version number for ` swagger.yml ` changes. The release process handles that .
36
36
2 . Ensure ` make validate ` passes.
37
37
3 . The go tests run against the last generated go client. These must pass before making a release.
38
38
4 . If all you want is a new endpoint, you can PR just the ` swagger.yml ` changes for review and regenerate the go client when its ready to go in.
39
39
40
40
## Making a new release
41
41
42
- 1 . Make sure you are on the HEAD of the master branch .
43
- 2 . regenarate go client (if you haven't) (Make all and commit the results)
44
- 3 . bump a JS package version with ` npm version [major|minor|patch] ` (updates package.json, swagger.yaml and create a git tag)
45
- 4 . Run ` npm publish ` which will as ` git push && git push --tags ` to push to the origin, create a github release and publish the spec to npm .
42
+ 1 . Merge the release PR (auto generated via ` release-please ` ) .
43
+ 2 . Switch to the default branch git checkout master.
44
+ 3 . Pull latest changes git pull.
45
+ 4 . Run ` npm publish ` .
46
46
47
47
## License
48
48
You can’t perform that action at this time.
0 commit comments