From 26a395edf5f1eec8410a2af57ad21556f3bd919c Mon Sep 17 00:00:00 2001 From: hustcer Date: Sun, 12 Jan 2025 22:18:38 +0800 Subject: [PATCH] Update nightly version --- .github/workflows/nightly-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 1b8a7cf3d..c958fe1e3 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -89,8 +89,14 @@ jobs: $'build_date=($date)(char nl)' o>> $env.GITHUB_OUTPUT $'nightly_tag=($nightly_tag)(char nl)' o>> $env.GITHUB_OUTPUT if (git ls-remote --tags origin $nightly_tag | is-empty) { + open Cargo.toml + | update package.version $'($version)-nightly.($build)' + | save -f Cargo.toml + git add Cargo.toml + git commit -m $'Update version to ($version)-nightly.($build)' git tag -a $nightly_tag -m $'Nightly build from ($sha_short)' git push origin --tags + git push origin main -f } release: