-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Initial commit for the bump to 0.3.5.2 (#2541)
* chore: Initial commit for the bump * wip(fix): build * chore: Update the os welcome page to include the previous release of the 0.3.5.1
- Loading branch information
Showing
9 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
use async_trait::async_trait; | ||
use emver::VersionRange; | ||
use sqlx::PgPool; | ||
|
||
use super::VersionT; | ||
use super::{v0_3_4::V0_3_0_COMPAT, v0_3_5_1}; | ||
use crate::prelude::*; | ||
|
||
const V0_3_5_2: emver::Version = emver::Version::new(0, 3, 5, 2); | ||
|
||
#[derive(Clone, Debug)] | ||
pub struct Version; | ||
|
||
#[async_trait] | ||
impl VersionT for Version { | ||
type Previous = v0_3_5_1::Version; | ||
fn new() -> Self { | ||
Version | ||
} | ||
fn semver(&self) -> emver::Version { | ||
V0_3_5_2 | ||
} | ||
fn compat(&self) -> &'static VersionRange { | ||
&V0_3_0_COMPAT | ||
} | ||
async fn up(&self, _db: PatchDb, _secrets: &PgPool) -> Result<(), Error> { | ||
Ok(()) | ||
} | ||
async fn down(&self, _db: PatchDb, _secrets: &PgPool) -> Result<(), Error> { | ||
Ok(()) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters