Skip to content

Commit

Permalink
Drop pre-release tag for nightly version (#6916)
Browse files Browse the repository at this point in the history
## Summary

This PR changes the logic of generating nightly release version name.

Before this change, the next published version would be
`4.0.0-beta.1-nightly-20250121-9a907dd8b`.

After this change, it will be `4.0.0-nightly-20250121-9a907dd8b`
(without `-beta.1` part).

## Test plan
  • Loading branch information
tomekzaw authored Jan 21, 2025
1 parent 9a907dd commit 4c66cb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if (IS_SET_CUSTOM) {
}).stdout.trim();
const shortCommit = currentCommit.slice(0, 9);

version = `${currentVersion}-nightly-${dateIdentifier}-${shortCommit}`;
version = `${currentVersion.split('-')[0]}-nightly-${dateIdentifier}-${shortCommit}`;
} else if (IS_FRESH) {
version = `${currentVersion}-${dateIdentifier}`;
}
Expand Down

0 comments on commit 4c66cb2

Please sign in to comment.