albacore 2.3.12 → 2.3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/albacore/tools.rb +4 -3
- data/lib/albacore/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e30b41fce14eed35cf2f0ac3686d860d49fc759
|
4
|
+
data.tar.gz: e6a5bea8621ea7ac2b41ed3d81b1978180b8958c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e7217c8a2d18ff445a22df29b149f94024c876b005617ad79f2552328c346bb05c9f55f4f7907c14c4c19b8d2b39ee3c7661d480391ba657bbb0cdac023927f
|
7
|
+
data.tar.gz: e59e1ce81fdbd69b962e0a0169fef07ecb33a5c29aa96495b5d4487ebc6aacc1a0de2a3a74e34a2dcab55fde7bcf195394ac2c3656afb2f5bb14992e68a977af
|
data/lib/albacore/tools.rb
CHANGED
@@ -9,9 +9,10 @@ module Albacore::Tools
|
|
9
9
|
sort { |a, b| a <=> b }.
|
10
10
|
map { |_, tag| tag }
|
11
11
|
last_tag = tags[-1]
|
12
|
-
second_last_tag = tags[-2] || `git rev-list --max-parents=0 HEAD`
|
13
|
-
logs = `git log --pretty=format:%s #{second_last_tag}..`.split(/\n/)
|
14
|
-
|
12
|
+
# second_last_tag = tags[-2] || `git rev-list --max-parents=0 HEAD`
|
13
|
+
# logs = `git log --pretty=format:%s #{second_last_tag}..`.split(/\n/)
|
14
|
+
logs = `git log --pretty=format:%s #{last_tag}..`.split(/\n/)
|
15
|
+
"Release Notes:
|
15
16
|
#{logs.inject('') { |state, line| state + "\n * #{line}" }}"
|
16
17
|
end
|
17
18
|
end
|
data/lib/albacore/version.rb
CHANGED