Skip to content

Commit

Permalink
add PRE and BUILD parts for dev gems build
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Sep 8, 2023
1 parent 6fbc704 commit bf18835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/datadog/ci/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions sig/datadog/ci/version.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module Datadog
MAJOR: "0"
MINOR: "1"
PATCH: "0"
PRE: String?
BUILD: String?

STRING: String

Expand Down

0 comments on commit bf18835

Please sign in to comment.