Skip to content

Commit

Permalink
readme: Add info about how to upgrade Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
bep authored Jan 12, 2022
1 parent ce36331 commit 5afcb5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,13 @@ Or only what you need:

This repository will be versioned following https://github.com/bep/semverpair

## How to Upgrade Bootstrap

1. Checkout the relevant branch (`main`=latest=Bootstrap 5, `v4`=Bootstrap 4)
1. Create a PR branch
1. Run `hugo mod get -u github.com/twbs/bootstrap`
1. Verify that `go.mod` is updated with correct version (run `hugo mod graph`).
1. Do `cd exampleSite` and run `hugo server` and make sure it works (and that `github.com/twbs/bootstrap` version is as expected in the table).
1. Create a Pull Request and verify that it builds and that the Netlify preview works.


0 comments on commit 5afcb5a

Please sign in to comment.