Update CONTRIBUTING.md

This commit is contained in:
Dawa Ometto
2020-03-30 11:27:19 +02:00
committed by GitHub
parent f74c6c1706
commit 40215c3da2
+9
View File
@@ -78,6 +78,15 @@ git commit -am "Add test"
git push ../lotr.git/ master
```
## Updating static assets
This is necessary whenever changes have been made to the assets in `lib/gollum/public/gollum/javascript` (mostly SASS, CSS, and JS files), to ensure the changes are also present in the [released](#releasing-the-gem) version of the gem. Steps:
1. `git rm -r lib/gollum/public/assets`
1. `bundle exec rake precompile`
1. `git add lib/gollum/public/assets`
1. `git commit`
## Releasing the gem
Gollum uses [Semantic Versioning](http://semver.org/).