2017-09-24 13:31:42 +00:00
|
|
|
[![pipeline status](https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/badges/master/pipeline.svg)](https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/commits/master)
|
2017-09-07 20:50:21 +00:00
|
|
|
|
2017-09-24 13:31:42 +00:00
|
|
|
# autonomic-cooperative.gitlab.io
|
2017-09-07 20:50:21 +00:00
|
|
|
|
2017-09-24 13:31:42 +00:00
|
|
|
A [Jekyll] based site for the Autonomic Cooperative.
|
|
|
|
|
|
|
|
The template is based on the [spectral-jekyll-theme].
|
|
|
|
|
|
|
|
[Jekyll]: https://jekyllrb.com/
|
|
|
|
[spectral-jekyll-theme]: https://github.com/andrewbanchich/spectral-jekyll-theme
|
|
|
|
|
2017-10-04 14:07:32 +00:00
|
|
|
# Contribute
|
2017-09-24 13:31:42 +00:00
|
|
|
|
2017-10-04 14:07:32 +00:00
|
|
|
Please see [CONTRIBUTING.md] for the juicy details.
|
2017-09-24 13:31:42 +00:00
|
|
|
|
2017-10-04 14:07:32 +00:00
|
|
|
[CONTRIBUTING.md]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/blob/master/CONTRIBUTING.md
|
2017-09-22 09:46:39 +00:00
|
|
|
|
2017-10-04 14:07:32 +00:00
|
|
|
# Make A New Release
|
2017-09-24 13:34:02 +00:00
|
|
|
|
2017-10-04 14:48:00 +00:00
|
|
|
Our production site is contained in the [dist folder]. You'll
|
|
|
|
need to make sure you have the latest changes by running:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ make proddist
|
|
|
|
```
|
|
|
|
|
|
|
|
If you see any unstaged changes, please verify them with someone and push them
|
|
|
|
to the upstream master remote. Make sure the latest pipeline is passing and tag
|
|
|
|
HEAD with:
|
2017-09-22 09:46:39 +00:00
|
|
|
|
2017-09-23 21:52:17 +00:00
|
|
|
```bash
|
2017-10-04 14:07:32 +00:00
|
|
|
$ git tag -a 2.0.0 $(git rev-parse HEAD)
|
2017-10-04 14:48:00 +00:00
|
|
|
$ git push upstream master --tags
|
2017-09-22 10:21:53 +00:00
|
|
|
```
|
2017-09-23 21:52:17 +00:00
|
|
|
|
2017-10-04 14:48:00 +00:00
|
|
|
Then make a release with:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ make release
|
|
|
|
```
|
2017-09-23 21:52:17 +00:00
|
|
|
|
2017-10-04 14:48:00 +00:00
|
|
|
This pushes the contents of the [dist folder] to the production
|
|
|
|
branch which will get picked up by our production instance of
|
|
|
|
the site.
|
2017-09-23 21:52:17 +00:00
|
|
|
|
2017-10-04 14:07:32 +00:00
|
|
|
[dist folder]: https://gitlab.com/autonomic-cooperative/autonomic-cooperative.gitlab.io/tree/master/dist
|