From bf18835342d80b5aa1560b349dd7bc5382134cce Mon Sep 17 00:00:00 2001 From: Andrey Marchenko Date: Fri, 8 Sep 2023 17:07:38 +0200 Subject: [PATCH] add PRE and BUILD parts for dev gems build --- lib/datadog/ci/version.rb | 5 ++++- sig/datadog/ci/version.rbs | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/datadog/ci/version.rb b/lib/datadog/ci/version.rb index 87aeb061..d19b78cd 100644 --- a/lib/datadog/ci/version.rb +++ b/lib/datadog/ci/version.rb @@ -6,8 +6,11 @@ module VERSION MAJOR = "0" MINOR = "1" PATCH = "0" + PRE = nil + BUILD = nil + # PRE and BUILD above are modified for dev gems during gem build GHA workflow - STRING = [MAJOR, MINOR, PATCH].compact.join(".") + STRING = [MAJOR, MINOR, PATCH, PRE, BUILD].compact.join(".") MINIMUM_RUBY_VERSION = "2.1.0" diff --git a/sig/datadog/ci/version.rbs b/sig/datadog/ci/version.rbs index a0cb4597..33cd6c5b 100644 --- a/sig/datadog/ci/version.rbs +++ b/sig/datadog/ci/version.rbs @@ -4,6 +4,8 @@ module Datadog MAJOR: "0" MINOR: "1" PATCH: "0" + PRE: String? + BUILD: String? STRING: String