Skip to content

Conversation

@geofflamrock
Copy link
Contributor

@geofflamrock geofflamrock commented Sep 19, 2025

Context

We are adding support for Custom Fields on releases as part of the new Ephemeral Environments feature coming to Octopus. This will allow custom key/value data to be stored on a release and used as part of naming automatically created ephemeral environments from releases. Channels can define which custom fields are required for releases created.

Changes

Adds support for setting custom fields when creating releases.

  • When running interactively, each custom field defined on the selected channel will be prompted for the user to enter a value.
  • An option --custom-field can be used to supply any values when running non-interactively with a format of name:value.

Needs OctopusDeploy/go-octopusdeploy#359 to be merged to make type changes available.

[sc-113197]

Copy link

@stevencl840 stevencl840 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Is the error in the code due to the library needing its changes merged?

@geofflamrock
Copy link
Contributor Author

geofflamrock commented Sep 24, 2025

Looks good. Is the error in the code due to the library needing its changes merged?

@stevencl840 Yeah it won't compile in CI until OctopusDeploy/go-octopusdeploy#359 merges

@geofflamrock geofflamrock changed the title Add support for setting custom fields on releases feat: Add support for setting custom fields on releases Sep 25, 2025
@geofflamrock geofflamrock merged commit 4aac03a into main Sep 25, 2025
4 of 7 checks passed
@geofflamrock geofflamrock deleted the geoffl/custom-fields-on-releases branch September 25, 2025 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants