Skip to content

Commit

Permalink
DXP-1420 merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-r-morgan committed Nov 27, 2023
2 parents d2107ca + 62cfcba commit f8b8484
Show file tree
Hide file tree
Showing 6 changed files with 8,061 additions and 11,453 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ imported into Postman so that you can get started on making requests to Lob API.

## How to bump version

For a MAJOR breaking change on the api, you should bump the first number i.e. `1.xx.xx` -> `2.xx.xx`. For a MINOR change, you should bump the second set of numbers `1.13.x` -> `1.14.0`. For a PATCH change (You are changing a typo or something that doesn't affect logic) you should bump the final set of numbers i.e. `x.xx.10` -> `x.xx.11`.
When bumping the version there are three key areas where the version should be bumped. The first is `package.json`, the second is the `package-lock.json`, and the final, is `lob-api-public.yml`. These all have a property called `version` that should be bumped based on the criteria above.
Run `npm run bump-version <<newversion> | major | minor | patch>`

When bumping the version there are three key areas where the `version` should be bumped. Verify that these versions are updated after running the script
1. `package.json`
2. `package-lock.json`
3. `lob-api-public.yml`

The final step is to ensure you run `npm run bundle && npm run pretty && npm run redoc` to actually appply these changes.
24 changes: 12 additions & 12 deletions docs/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit f8b8484

Please sign in to comment.