feat: add make patch, minor and major, and show the running version
The version had never moved from 0.1.0, so a build on the Deck could not be matched to what it contains. The bump targets follow frig and worklane: write the new version, amend it into the last commit and tag it. Here they also add a release to the Flatpak metainfo, and refuse a version that CHANGELOG.md, new in this commit, has no entry for. The version is shown at the bottom left of every screen, the login screen included.
This commit is contained in:
@@ -554,6 +554,7 @@ component NowBar inherits Rectangle {
|
||||
|
||||
component HintBar inherits Rectangle {
|
||||
in property <[Hint]> hints;
|
||||
in property <string> version;
|
||||
|
||||
pure function key-color(k: string) -> color {
|
||||
if (k == "A") { return #3fb950; }
|
||||
@@ -600,6 +601,16 @@ component HintBar inherits Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Which build is running, so a report from the Deck can be matched to it.
|
||||
Text {
|
||||
x: 28px * Theme.s;
|
||||
height: parent.height;
|
||||
text: "remus " + root.version;
|
||||
font-size: 12px * Theme.s;
|
||||
color: Theme.faint;
|
||||
vertical-alignment: center;
|
||||
}
|
||||
}
|
||||
|
||||
component Field inherits VerticalLayout {
|
||||
@@ -933,6 +944,7 @@ export component AppWindow inherits Window {
|
||||
|
||||
in property <[Hint]> hints;
|
||||
in property <string> toast;
|
||||
in property <string> version;
|
||||
|
||||
public function focus-main() {
|
||||
fs.focus();
|
||||
@@ -1128,6 +1140,7 @@ export component AppWindow inherits Window {
|
||||
HintBar {
|
||||
height: 46px * Theme.s;
|
||||
hints: root.hints;
|
||||
version: root.version;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user