WIP: fix(semver): fix produced version number #1472
No reviewers
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1472
Loading…
Reference in New Issue
No description provided.
Delete Branch "dpschen/api:fix-produced-semver-version-number"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The "+" is not compatible and leads to problems with semver version parsers
Related frontend PR: vikunja/frontend#2929
@ -95,3 +95,3 @@
}
VersionNumber = strings.Trim(string(version), "\n")
VersionNumber = strings.Replace(VersionNumber, "-", "+", 1)
// VersionNumber = strings.Replace(VersionNumber, "-", "+", 1)
Can you remove this line?
How should we coordinate merging this with the frontend PR?
@ -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.
@konrad How could we render the current version dynamically here?
Probably with a placeholder string and a ci step doing sed magic.
d7173c9f90
to23ac9bbb61
Closing due to inactivity.
Pull request closed