Skip to content

Commit

Permalink
version: semver revision should be 4 chars wide
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorg committed Nov 23, 2024
1 parent 7328719 commit bff0948
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ const Name = "murex"
const (
Major = 6
Minor = 4
Revision = 373
Revision = 375
Branch = "develop"
BuildDate = "2024-11-22 22:18:43"
BuildDate = "2024-11-23 00:40:48"
)

// Copyright is the copyright owner string
Expand Down
2 changes: 1 addition & 1 deletion builtins/core/management/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func cmdVersion(p *lang.Process) error {

case "--semver":
p.Stdout.SetDataType(types.String)
_, err := p.Stdout.Writeln([]byte(fmt.Sprintf("%d.%d.%d", app.Major, app.Minor, app.Revision)))
_, err := p.Stdout.Writeln([]byte(fmt.Sprintf("%d.%d.%04d", app.Major, app.Minor, app.Revision)))
return err

case "--license":
Expand Down
2 changes: 2 additions & 0 deletions builtins/docs/summaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ func init() {
"changelog/v6.1": "This release sees a massive jump in event-driven capabilities as well as several new features and bug fixes.",
"changelog/v6.2": "Bug fix release",
"changelog/v6.3": "This is a massive release ahead of the v7.0. This brings notifications of new deprecations, new builtins, new flags, improved CI/CD flow, and changes to the website. Unfortunately it also carries 3 breaking changes.",
"changelog/v6.4": "This change brings a number of ergonomic improvements to job control, `datetime` and working with structures.",
}

Synonym = map[string]string{
Expand Down Expand Up @@ -1076,5 +1077,6 @@ func init() {
"changelog/v6.1": "changelog/v6.1",
"changelog/v6.2": "changelog/v6.2",
"changelog/v6.3": "changelog/v6.3",
"changelog/v6.4": "changelog/v6.4",
}
}
2 changes: 1 addition & 1 deletion version.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bff0948

Please sign in to comment.