Skip to content

Commit 26a395e

Browse files
committedJan 12, 2025
Update nightly version
1 parent 0000000 commit 26a395e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎.github/workflows/nightly-build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,14 @@ 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
99+
git push origin main -f
94100
}
95101
96102
release:

0 commit comments

Comments
 (0)