Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
push tag in init
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-747 committed May 10, 2024
1 parent bac2d04 commit 2cc9d8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ pub async fn add_and_push_to_remote(workspace: PathBuf) {
.output()
.unwrap();
let push_res = Command::new("git").arg("push").arg("nju").output().unwrap();
Command::new("git").arg("push").arg("nju").arg("--tags").output().unwrap();

if push_res.status.success() {
record.status = Set(RepoSyncStatus::Succeed);
Expand Down

0 comments on commit 2cc9d8a

Please sign in to comment.