revision 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2d84d1534e531c997a760126339a1ef9e7971b2aac9d147fc1b59894e18ac48
4
- data.tar.gz: 7f2f9c98c10b454cc4e719fec0414e83fcd127d5ede7f111708ab8cf2c23cd6a
3
+ metadata.gz: 605f0915384acb71a4973620df4d9b7f9ff4f9b49677ebb05f18c27b1a8b71e9
4
+ data.tar.gz: eb08ce74aec19f2728c5c8731979a6568e1402703a30ffd56d748a2ffc63cb8f
5
5
  SHA512:
6
- metadata.gz: b8351cbc09d81a425683be3d7ca049daf1cf0576310ed396812675ac1adb8b6e525bfdcb168b90e5b259d5e5d0bd90ebe7c8c79e1bd41a16f77083abbfe0a0a6
7
- data.tar.gz: 5249761e6c2ec29ab1887688c96bdded06d298140c9919020f80fd7a19928824840888b0ad9ac8002b08bbe52b768736eac9232d765813eb99807d7c437f24fa
6
+ metadata.gz: 26451e1ece5ca26fb8e630de935c00697236eb397581b740e366a95303b00e0e5d30158034d4a5c7d0705d9c89f99b3e5e028f7f10abc8f2d82f30ecec600499
7
+ data.tar.gz: b6ca7c2ce137f831daca7c9c515229764cdc9ee3faa70d8008a348bd37b74a952c1944cdcc2c7bbc61d0b3e58d9b3cc8b20f915efc4e613fbb329fa627673944
@@ -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
- @artefacts.each { |a| a[:dest] ||= a[:src] }
64
+
65
+ @artefacts.each { |a| a[:dest] ||= a[:src] } unless @artefacts.empty?
65
66
  end
66
67
 
67
68
  def to_s
@@ -1,10 +1,13 @@
1
1
  # Defines the revision ID for the revision gem
2
2
  module Revision
3
- VERSION = "1.2.0"
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revision
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cormac Cannon