rake-gitversion 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -1
- data/lib/rake/gitversion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62531d136b3e679501312eada4fd8b774c0f306c
|
4
|
+
data.tar.gz: 246114344e327ab00cd0860c3a0ab70fdebbde07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed491ca1f00fccbb9ddeb5ac4219921b40bc45d95fed5a547b8d78361835430ae76ce6d691a4bbf6ab8d13e45d55f98620ae642d1fbfb6acfa00b9aee77dd527
|
7
|
+
data.tar.gz: d2ef77a5dd7c37a8e395c5f33a5a4aaa0eb1c9cb955cbbfe8b6bbfb045768ad24eee6aa2df4a6713460f168d95ae9e0b4d0c7f460179876daa582e85e6f8a22d
|
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Rake::Gitversion
|
2
2
|
|
3
|
+
[](https://badge.fury.io/rb/rake-gitversion)
|
4
|
+
[](https://travis-ci.org/skladd/rake-gitversion)
|
5
|
+
|
3
6
|
This gem adds a task 'set_version' to rake, which uses annotated tags and the
|
4
7
|
'git describe' command to get a version string and save it to a VERSION file.
|
5
8
|
The patch number of the version string is the number of commits since the last
|
@@ -35,7 +38,11 @@ Add an annotated version tag:
|
|
35
38
|
|
36
39
|
```git tag -a -m 'minor' v0.1```
|
37
40
|
|
38
|
-
Run rake set_version
|
41
|
+
Run ```rake set_version```.
|
42
|
+
|
43
|
+
Consider adding ```VERSION``` to your .gitignore file, but make sure to run
|
44
|
+
to ```rake set_version``` after checkout or distribute ```VERSION``` file
|
45
|
+
somehow.
|
39
46
|
|
40
47
|
|
41
48
|
In your version.rb, use:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-gitversion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephan Klatt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|