Compare commits

..

2 Commits

Author SHA1 Message Date
Micah
1caf9446d8 Rojo 7.4.0-rc2 (#798) 2023-10-04 05:36:57 +00:00
Micah
bfd2c885db Properly handle build metadata in semver parsing in plugin (#797) 2023-10-04 05:23:18 +00:00
5 changed files with 10 additions and 4 deletions

View File

@@ -2,6 +2,11 @@
## Unreleased Changes ## Unreleased Changes
## [7.4.0-rc2] - October 3, 2023
* Fixed bug with parsing version for plugin validation ([#797])
[#797]: https://github.com/rojo-rbx/rojo/pull/797
## [7.4.0-rc1] - October 3, 2023 ## [7.4.0-rc1] - October 3, 2023
### Additions ### Additions
#### Project format #### Project format

2
Cargo.lock generated
View File

@@ -1831,7 +1831,7 @@ dependencies = [
[[package]] [[package]]
name = "rojo" name = "rojo"
version = "7.4.0-rc1" version = "7.4.0-rc2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "rojo" name = "rojo"
version = "7.4.0-rc1" version = "7.4.0-rc2"
rust-version = "1.70.0" rust-version = "1.70.0"
authors = ["Lucien Greathouse <me@lpghatguy.com>"] authors = ["Lucien Greathouse <me@lpghatguy.com>"]
description = "Enables professional-grade development tools for Roblox developers" description = "Enables professional-grade development tools for Roblox developers"

View File

@@ -1 +1 @@
7.4.0-rc1 7.4.0-rc2

View File

@@ -3,8 +3,9 @@ local strict = require(script.Parent.strict)
local isDevBuild = script.Parent.Parent:FindFirstChild("ROJO_DEV_BUILD") ~= nil local isDevBuild = script.Parent.Parent:FindFirstChild("ROJO_DEV_BUILD") ~= nil
local Version = script.Parent.Parent.Version local Version = script.Parent.Parent.Version
local realVersion = Version.Value:split(".") local major, minor, patch, metadata = Version.Value:match("^(%d+)%.(%d+)%.(%d+)(.*)$")
local realVersion = { major, minor, patch, metadata }
for i = 1, 3 do for i = 1, 3 do
local num = tonumber(realVersion[i]) local num = tonumber(realVersion[i])
if num then if num then