Skip to content

Conversation

@danieldk
Copy link
Member

This change adds the version option to the general section in build.toml. The version will be written to the build metadata and will be used by kernels upload to upload builds to a versioned branch.

This change adds the `version` option to the `general` section in
`build.toml`. The version will be written to the build metadata and will
be used by `kernels upload` to upload builds to a versioned branch.
This allows version-based uploading to kick in when no branch is
specified.
Copy link
Collaborator

@drbh drbh left a comment

Choose a reason for hiding this comment

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

lgtm, just left a question about the version type


pub struct General {
pub name: String,
pub version: Option<usize>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

likely overly pedantic, but maybe we want to be more strict on the version and disallow negative numbers or 0? additionally maybe we want to use a less ambiguous type like u32.

conversely maybe we want a more open ended type like a string? just thinking out loud here..

curious to hear your thoughts on the type?

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.

3 participants