Skip to content

Commit

Permalink
Update nightly version
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Jan 12, 2025
1 parent 0000000 commit 26a395e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 26a395e

Please sign in to comment.