Script for producing release version #99411

Closed
opened 2022-07-04 15:23:46 +02:00 by Sybren A. Stüvel · 3 comments

It should be possible to create a release X.Y such that:

  • the version reported by the application is X.Y,
  • the version in the OpenAPI-generated files is X.Y, and
  • building the Git tag vX.Y results in the release binary.

This should be scripted so that producing a new release can be done with a single command.

This likely requires some changes in the way the OpenAPI generators get the version number. At this moment they use the output of git describe --tags, but that's insufficient if the files need to get a not-yet-tagged version number.

It should be possible to create a release `X.Y` such that: - the version reported by the application is `X.Y`, - the version in the OpenAPI-generated files is `X.Y`, and - building the Git tag `vX.Y` results in the release binary. This should be scripted so that producing a new release can be done with a single command. This likely requires some changes in the way the OpenAPI generators get the version number. At this moment they use the output of `git describe --tags`, but that's insufficient if the files need to get a not-yet-tagged version number.
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Sybren A. Stüvel self-assigned this 2022-07-25 16:54:00 +02:00
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#99411
No description provided.