revision 1.2.0 → 1.2.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/lib/revision/releasable.rb +2 -1
- data/lib/revision/version.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 605f0915384acb71a4973620df4d9b7f9ff4f9b49677ebb05f18c27b1a8b71e9
|
4
|
+
data.tar.gz: eb08ce74aec19f2728c5c8731979a6568e1402703a30ffd56d748a2ffc63cb8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26451e1ece5ca26fb8e630de935c00697236eb397581b740e366a95303b00e0e5d30158034d4a5c7d0705d9c89f99b3e5e028f7f10abc8f2d82f30ecec600499
|
7
|
+
data.tar.gz: b6ca7c2ce137f831daca7c9c515229764cdc9ee3faa70d8008a348bd37b74a952c1944cdcc2c7bbc61d0b3e58d9b3cc8b20f915efc4e613fbb329fa627673944
|
data/lib/revision/releasable.rb
CHANGED
@@ -61,7 +61,8 @@ module Revision
|
|
61
61
|
@revision = Info.new(File.join(@root,config[:revision][:src]), regex: config[:revision][:regex], comment_prefix: config[:revision][:comment_prefix])
|
62
62
|
@build_def = config[:build] ? config[:build] : { environment: { variables: {}}, steps: config[:build_steps]}
|
63
63
|
@artefacts = config[:artefacts]
|
64
|
-
|
64
|
+
|
65
|
+
@artefacts.each { |a| a[:dest] ||= a[:src] } unless @artefacts.empty?
|
65
66
|
end
|
66
67
|
|
67
68
|
def to_s
|
data/lib/revision/version.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
# Defines the revision ID for the revision gem
|
2
2
|
module Revision
|
3
|
-
VERSION = "1.2.
|
3
|
+
VERSION = "1.2.1"
|
4
4
|
end
|
5
5
|
|
6
6
|
# <BEGIN CHANGELOG>
|
7
7
|
#
|
8
|
+
# Version 1.2.1 (03 Sep 2018)
|
9
|
+
# - Update to allow releasable without any artefacts
|
10
|
+
#
|
8
11
|
# Version 1.2.0 (06 Mar 2018)
|
9
12
|
# - Build definition improvements (and new yaml structure)
|
10
13
|
# - Added platform-agnostic environment variable definition (handles '~' replacement and :/; path separators)
|