-
- Downloads
Respect Config.append_timestamp everywhere
Previously, Config.append_timestamp was only respected by the Omnibus::BuildVersion.semver function. This option is now respected by the dsl-based version builder as well, ensuring that even when the user specifies an explicit version with a string, a timestamp is appended. This is a behavior change for some users. Users who do not want a timstamp can alter their configuration. We've added backwards compatibility for those using the 'semver' style versions to ensure that we do not append a timestamp to a version already containing a timestamp.
Showing
- CHANGELOG.md 8 additions, 0 deletionsCHANGELOG.md
- README.md 5 additions, 0 deletionsREADME.md
- features/step_definitions/generator_steps.rb 1 addition, 0 deletionsfeatures/step_definitions/generator_steps.rb
- lib/omnibus/build_version.rb 25 additions, 21 deletionslib/omnibus/build_version.rb
- lib/omnibus/build_version_dsl.rb 43 additions, 4 deletionslib/omnibus/build_version_dsl.rb
- spec/spec_helper.rb 1 addition, 0 deletionsspec/spec_helper.rb
- spec/unit/build_version_dsl_spec.rb 28 additions, 1 deletionspec/unit/build_version_dsl_spec.rb
- spec/unit/build_version_spec.rb 1 addition, 4 deletionsspec/unit/build_version_spec.rb
- spec/unit/config_spec.rb 1 addition, 0 deletionsspec/unit/config_spec.rb
Please register or sign in to comment