generated from PlexSheep/rs-base
Compare commits
2 commits
b2bd3a9dde
...
e65378436b
Author | SHA1 | Date | |
---|---|---|---|
e65378436b | |||
1c965da645 |
2 changed files with 4 additions and 4 deletions
|
@ -22,8 +22,8 @@ async fn main() -> Result<()> {
|
|||
println!("{}", Changelog::build(&cfg)?);
|
||||
}
|
||||
Commands::Release { .. } => {
|
||||
init_servers(&cfg).await?;
|
||||
release(&cfg).await?;
|
||||
let apis = init_servers(&cfg).await?;
|
||||
release(&cfg, &mut apis).await?;
|
||||
}
|
||||
Commands::Publish { .. } => {
|
||||
publish(&cfg).await?;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::{config::Config, error::*};
|
||||
use crate::{config::Config, error::*, serverapi::ApiCollection};
|
||||
|
||||
pub async fn release(cfg: &Config) -> Result<()> {
|
||||
pub async fn release(cfg: &Config, apis: &mut ApiCollection) -> Result<()> {
|
||||
// TODO: git tag
|
||||
// TODO: version bump
|
||||
// TODO: version select interactive
|
||||
|
|
Loading…
Add table
Reference in a new issue