Skip to content

Commit d63341e

Browse files
authored
alpha.14 (#2833)
1 parent df8c8dc commit d63341e

File tree

6 files changed

+52
-9
lines changed

6 files changed

+52
-9
lines changed

core/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/startos/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords = [
1414
name = "start-os"
1515
readme = "README.md"
1616
repository = "https://github.com/Start9Labs/start-os"
17-
version = "0.3.6-alpha.13" # VERSION_BUMP
17+
version = "0.3.6-alpha.14" # VERSION_BUMP
1818
license = "MIT"
1919

2020
[lib]

core/startos/src/version/mod.rs

+8-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ mod v0_3_6_alpha_10;
3333
mod v0_3_6_alpha_11;
3434
mod v0_3_6_alpha_12;
3535
mod v0_3_6_alpha_13;
36+
mod v0_3_6_alpha_14;
3637

37-
pub type Current = v0_3_6_alpha_13::Version; // VERSION_BUMP
38+
pub type Current = v0_3_6_alpha_14::Version; // VERSION_BUMP
3839

3940
impl Current {
4041
#[instrument(skip(self, db))]
@@ -129,7 +130,8 @@ enum Version {
129130
V0_3_6_alpha_10(Wrapper<v0_3_6_alpha_10::Version>),
130131
V0_3_6_alpha_11(Wrapper<v0_3_6_alpha_11::Version>),
131132
V0_3_6_alpha_12(Wrapper<v0_3_6_alpha_12::Version>),
132-
V0_3_6_alpha_13(Wrapper<v0_3_6_alpha_13::Version>), // VERSION_BUMP
133+
V0_3_6_alpha_13(Wrapper<v0_3_6_alpha_13::Version>),
134+
V0_3_6_alpha_14(Wrapper<v0_3_6_alpha_14::Version>), // VERSION_BUMP
133135
Other(exver::Version),
134136
}
135137

@@ -166,7 +168,8 @@ impl Version {
166168
Self::V0_3_6_alpha_10(v) => DynVersion(Box::new(v.0)),
167169
Self::V0_3_6_alpha_11(v) => DynVersion(Box::new(v.0)),
168170
Self::V0_3_6_alpha_12(v) => DynVersion(Box::new(v.0)),
169-
Self::V0_3_6_alpha_13(v) => DynVersion(Box::new(v.0)), // VERSION_BUMP
171+
Self::V0_3_6_alpha_13(v) => DynVersion(Box::new(v.0)),
172+
Self::V0_3_6_alpha_14(v) => DynVersion(Box::new(v.0)), // VERSION_BUMP
170173
Self::Other(v) => {
171174
return Err(Error::new(
172175
eyre!("unknown version {v}"),
@@ -195,7 +198,8 @@ impl Version {
195198
Version::V0_3_6_alpha_10(Wrapper(x)) => x.semver(),
196199
Version::V0_3_6_alpha_11(Wrapper(x)) => x.semver(),
197200
Version::V0_3_6_alpha_12(Wrapper(x)) => x.semver(),
198-
Version::V0_3_6_alpha_13(Wrapper(x)) => x.semver(), // VERSION_BUMP
201+
Version::V0_3_6_alpha_13(Wrapper(x)) => x.semver(),
202+
Version::V0_3_6_alpha_14(Wrapper(x)) => x.semver(), // VERSION_BUMP
199203
Version::Other(x) => x.clone(),
200204
}
201205
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
use std::collections::BTreeMap;
2+
3+
use exver::{PreReleaseSegment, VersionRange};
4+
use imbl_value::json;
5+
6+
use super::v0_3_5::V0_3_0_COMPAT;
7+
use super::{v0_3_6_alpha_13, VersionT};
8+
use crate::prelude::*;
9+
10+
lazy_static::lazy_static! {
11+
static ref V0_3_6_alpha_14: exver::Version = exver::Version::new(
12+
[0, 3, 6],
13+
[PreReleaseSegment::String("alpha".into()), 14.into()]
14+
);
15+
}
16+
17+
#[derive(Clone, Copy, Debug, Default)]
18+
pub struct Version;
19+
20+
impl VersionT for Version {
21+
type Previous = v0_3_6_alpha_13::Version;
22+
type PreUpRes = ();
23+
24+
async fn pre_up(self) -> Result<Self::PreUpRes, Error> {
25+
Ok(())
26+
}
27+
fn semver(self) -> exver::Version {
28+
V0_3_6_alpha_14.clone()
29+
}
30+
fn compat(self) -> &'static VersionRange {
31+
&V0_3_0_COMPAT
32+
}
33+
fn up(self, db: &mut Value, _: Self::PreUpRes) -> Result<(), Error> {
34+
Ok(())
35+
}
36+
fn down(self, _db: &mut Value) -> Result<(), Error> {
37+
Ok(())
38+
}
39+
}

web/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "startos-ui",
3-
"version": "0.3.6-alpha.13",
3+
"version": "0.3.6-alpha.14",
44
"author": "Start9 Labs, Inc",
55
"homepage": "https://start9.com/",
66
"license": "MIT",

0 commit comments

Comments
 (0)