Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo-mod-bootstrap-scss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-01-12 20:59:12 +0300
committerGitHub <noreply@github.com>2022-01-12 20:59:12 +0300
commit5afcb5adf584378717f7426edb0cfa6fff99ea06 (patch)
tree2c92052f3f07b1df9bd6eeb0551193403c9e26c0
parentce36331bf799d009a40cf1c3d3328dce4c926a8f (diff)
readme: Add info about how to upgrade Bootstrap
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index cf62aff..0067a62 100644
--- a/README.md
+++ b/README.md
@@ -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.
+