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

github.com/matcornic/hugo-theme-learn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Taylor <matthew@m-taylor.co.uk>2019-09-05 00:47:55 +0300
committerMatthew Taylor <matthew@m-taylor.co.uk>2019-09-05 00:47:55 +0300
commitb85d51a051745cf12e3a45ce61b4b0c747c5ea4a (patch)
tree0e66ce6d55f970ace22527f7504fbe9512a14702 /README.md
parent2b8476fc636cc1f6dcccdc55930fd44538f492f3 (diff)
Initial instructions on releasing with gren
Diffstat (limited to 'README.md')
-rw-r--r--README.md47
1 files changed, 42 insertions, 5 deletions
diff --git a/README.md b/README.md
index b0f2cca..3e0801e 100644
--- a/README.md
+++ b/README.md
@@ -24,9 +24,9 @@ Visit the [theme documentation](https://learn.netlify.com/en/) to see what is go
Navigate to your themes folder in your Hugo site and use the following commands:
-```
-$ cd themes
-$ git clone https://github.com/matcornic/hugo-theme-learn.git
+```shell
+cd themes/
+git clone https://github.com/matcornic/hugo-theme-learn.git
```
Check that your Hugo version is minimum `0.25` with `hugo version`.
@@ -39,7 +39,7 @@ Check that your Hugo version is minimum `0.25` with `hugo version`.
## Download old versions (prior to 2.0.0)
-If you need old version for compatibility purpose, either download [theme source code from releases](https://github.com/matcornic/hugo-theme-learn/releases) or use the right git tag. For example, with `1.1.0`
+If you need old version for compatibility purpose, either download [theme source code from releases](https://github.com/matcornic/hugo-theme-learn/releases) or use the right git tag. For example, with `1.1.0`
- Direct download way: https://github.com/matcornic/hugo-theme-learn/archive/1.1.0.zip
- Git way:
@@ -55,6 +55,43 @@ For both solutions, the documentation is available at https://github.com/matcorn
Many thanks to [@vjeantet](https://github.com/vjeantet/) for the fork [docdock](https://github.com/vjeantet/hugo-theme-docdock). The v2 of this theme is mainly based on his work !
-
## License
+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmatcornic%2Fhugo-theme-learn.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmatcornic%2Fhugo-theme-learn?ref=badge_large)
+
+## Releasing
+
+Somewhat work-in-progress steps to release with [gren](https://github.com/github-tools/github-release-notes)
+
+- Check all MRs assigned to the milestone are closed or pushed back to another release
+- Close the milestone
+- Check merged MRs on the milestone have a tag (Bug, Enhancement, etc.)
+- Tag and push the repo
+
+ ```shell
+ git tag <tag>
+ git push origin <tag>
+ ```
+
+- Generate CHANGELOG.md with _gren_
+
+ ```shell
+ gren changelog --override --generate --tags=all
+ ```
+
+- Fix the date for the current release in CHANGELOG.md
+- Add the changelog to git and update the tag
+
+ ```shell
+ git add CHANGELOG.md
+ git commit -m "Ship tag <tag>"
+ git push origin master
+ git tag -f <tag>
+ git push --force origin <tag>
+ ```
+
+- Generate release with _gren_
+
+ ```shell
+ gren release -t <tag>
+ ```