Skip to content

Commit

Permalink
Merge pull request #868 from OctopusDeploy/dylan/package-version
Browse files Browse the repository at this point in the history
Add Version to PackageReference
  • Loading branch information
dylanlerch authored Aug 6, 2024
2 parents 2493401 + 78dbc43 commit d2af450
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4219,6 +4219,7 @@ Octopus.Client.Model
String PackageId { get; set; }
IDictionary<String, String> Properties { get; }
String StepPackageInputsReferenceId { get; set; }
String Version { get; set; }
Octopus.Client.Model.PackageReference Clone()
}
class PackageReferenceCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4239,6 +4239,7 @@ Octopus.Client.Model
String PackageId { get; set; }
IDictionary<String, String> Properties { get; }
String StepPackageInputsReferenceId { get; set; }
String Version { get; set; }
Octopus.Client.Model.PackageReference Clone()
}
class PackageReferenceCollection
Expand Down
6 changes: 6 additions & 0 deletions source/Octopus.Server.Client/Model/PackageReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ public string Name
/// </summary>
public string AcquisitionLocation { get; set; }

/// <summary>
/// Specific version to use for this package. If not set, package can be
/// selected at release creation or runbook run time.
/// </summary>
public string Version { get; set; }

/// <summary>
/// This reference identifier is populated when a step package step contains a package reference
/// It allows us to correlate the reference within the step package inputs to this Server package reference
Expand Down

0 comments on commit d2af450

Please sign in to comment.