Skip to content

Commit 5bcbd7d

Browse files
committedJan 12, 2025
Update nightly version
1 parent 0000000 commit 5bcbd7d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎.github/workflows/nightly-build.yml

+5
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ jobs:
8989
$'build_date=($date)(char nl)' o>> $env.GITHUB_OUTPUT
9090
$'nightly_tag=($nightly_tag)(char nl)' o>> $env.GITHUB_OUTPUT
9191
if (git ls-remote --tags origin $nightly_tag | is-empty) {
92+
open Cargo.toml
93+
| update package.version $'($version)-nightly.($build)'
94+
| save -f Cargo.toml
95+
git add Cargo.toml
96+
git commit -m $'Update version to ($version)-nightly.($build)'
9297
git tag -a $nightly_tag -m $'Nightly build from ($sha_short)'
9398
git push origin --tags
9499
}

0 commit comments

Comments
 (0)