Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't specify pre-release versions in balena.yml #2337

Closed
jrc opened this issue Sep 15, 2021 · 1 comment · Fixed by #2473
Closed

Can't specify pre-release versions in balena.yml #2337

jrc opened this issue Sep 15, 2021 · 1 comment · Fixed by #2473

Comments

@jrc
Copy link

jrc commented Sep 15, 2021

Expected Behavior

When specifying a version in balena.yml, I expect to be able to provide pre-release versions e.g. "1.0.0-alpha.1". This is supported in the SemVer specification, item 9.

Actual Behavior

Upon running balena push, the current CLI outputs a warning message "[Warning] The balena.yml version field must be a 3 digit semver (eg: 1.0.0). Please update your balena.yml or use the Dashboard to update the release version". The version shown in the dashboard becomes "0.0.0+rev67"

Specifications

  • balena CLI version: 12.48.12
  • Operating system version: macOS 10.15.7

Additional References

@pdcastro
Copy link
Contributor

Thanks for this feedback 👍  
It is something on our radar, and needs to be implemented in the API data model first:
balena-io/open-balena-api/issues/749 Should support all valid semver values in the release.semver field

@ghost ghost closed this as completed in #2473 Apr 11, 2022
@thgreasi thgreasi added bump and removed bump labels Jul 12, 2022
This issue was closed.
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 a pull request may close this issue.

3 participants