Skip to content

Commit

Permalink
add semantic version, delete obsolete actual commit value (#4669)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiloKo authored Nov 13, 2023
1 parent f499e92 commit 2a98742
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cmd/abapEnvironmentAssemblePackages.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ func (br *buildWithRepository) start() error {
ValueID: "CVERS",
Value: br.repo.Name + "." + br.repo.Version + "." + br.repo.SpLevel,
},
{
ValueID: "SEMANTIC_VERSION",
Value: br.repo.VersionYAML,
},
{
ValueID: "PACKAGE_TYPE",
Value: br.repo.PackageType,
Expand All @@ -180,11 +184,6 @@ func (br *buildWithRepository) start() error {
Value: br.repo.PredecessorCommitID})
}
if br.repo.CommitID != "" {
// old value to be used until 2302 [can be deleted earliest with 2311]
valuesInput.Values = append(valuesInput.Values,
abapbuild.Value{ValueID: "ACTUAL_DELIVERY_COMMIT",
Value: br.repo.CommitID})
// new value used as of 2302
valuesInput.Values = append(valuesInput.Values,
abapbuild.Value{ValueID: "CURRENT_DELIVERY_COMMIT",
Value: br.repo.CommitID})
Expand Down

0 comments on commit 2a98742

Please sign in to comment.