WIP: fix(semver): fix produced version number #1472

Closed
dpschen wants to merge 1 commits from dpschen/api:fix-produced-semver-version-number into main
Member

The "+" is not compatible and leads to problems with semver version parsers

Related frontend PR: vikunja/frontend#2929

The "+" is not compatible and leads to problems with semver version parsers Related frontend PR: https://kolaente.dev/vikunja/frontend/pulls/2929
konrad reviewed 2023-04-05 11:14:21 +00:00
magefile.go Outdated
@ -95,3 +95,3 @@
}
VersionNumber = strings.Trim(string(version), "\n")
VersionNumber = strings.Replace(VersionNumber, "-", "+", 1)
// VersionNumber = strings.Replace(VersionNumber, "-", "+", 1)
Owner

Can you remove this line?

Can you remove this line?
Owner

How should we coordinate merging this with the frontend PR?

How should we coordinate merging this with the frontend PR?
dpschen reviewed 2023-04-05 11:40:10 +00:00
@ -17,3 +17,3 @@
## Stable
Stable releases have a fixed version number like `0.18.2` and are published at irregular intervals whenever a new version is ready.
Stable releases have a fixed version number like `0.20.2` and are published at irregular intervals whenever a new version is ready.
Author
Member

@konrad How could we render the current version dynamically here?

@konrad How could we render the current version dynamically here?
Owner

Probably with a placeholder string and a ci step doing sed magic.

Probably with a placeholder string and a ci step doing sed magic.
dpschen force-pushed fix-produced-semver-version-number from d7173c9f90 to 23ac9bbb61 2023-04-05 11:42:00 +00:00 Compare
Owner

Closing due to inactivity.

Closing due to inactivity.
konrad closed this pull request 2024-01-16 12:15:59 +00:00
All checks were successful
continuous-integration/drone/pr Build is passing
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 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: vikunja/vikunja#1472
No description provided.