Skip to content

Commit

Permalink
Update version to v2025.0.0 (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
shueja authored Jan 6, 2025
1 parent a947ef2 commit 97962cb
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions choreolib/ChoreoLib2025.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"fileName": "ChoreoLib2025.json",
"name": "ChoreoLib",
"version": "2025.0.0-beta-9",
"version": "2025.0.0",
"uuid": "b5e23f0a-dac9-4ad2-8dd6-02767c520aca",
"frcYear": "2025",
"mavenUrls": [
Expand All @@ -13,7 +13,7 @@
{
"groupId": "choreo",
"artifactId": "ChoreoLib-java",
"version": "2025.0.0-beta-9"
"version": "2025.0.0"
},
{
"groupId": "com.google.code.gson",
Expand All @@ -26,7 +26,7 @@
{
"groupId": "choreo",
"artifactId": "ChoreoLib-cpp",
"version": "2025.0.0-beta-9",
"version": "2025.0.0",
"libName": "ChoreoLib",
"headerClassifier": "headers",
"sharedLibrary": false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "choreo",
"version": "2025.0.0-beta-9",
"version": "2025.0.0",
"description": "A graphical tool for planning time-optimized trajectories for autonomous mobile robots in the FIRST Robotics Competition.",
"homepage": "https://github.com/SleipnirGroup/Choreo",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "choreo-cli"
version = "2025.0.0-beta.9"
version = "2025.0.0"
edition = "2021"
homepage = "https://github.com/SleipnirGroup/Choreo"
repository = "https://github.com/SleipnirGroup/Choreo.git"
Expand Down
2 changes: 1 addition & 1 deletion src-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "choreo-core"
version = "2025.0.0-beta.9"
version = "2025.0.0"
edition = "2021"
homepage = "https://github.com/SleipnirGroup/Choreo"
repository = "https://github.com/SleipnirGroup/Choreo.git"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "choreo"
version = "2025.0.0-beta.9"
version = "2025.0.0"
edition = "2021"
description = """\
A graphical tool for planning time-optimized trajectories for autonomous \
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"package": {
"productName": "Choreo",
"version": "2025.0.0-beta-9"
"version": "2025.0.0"
},
"tauri": {
"allowlist": {
Expand Down Expand Up @@ -63,7 +63,7 @@
{
"fullscreen": false,
"resizable": true,
"title": "Choreo v2025.0.0-beta-9",
"title": "Choreo v2025.0.0",
"width": 1200,
"height": 800
}
Expand Down
6 changes: 5 additions & 1 deletion update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@


def default_version_string(v: str, count: str, hash: str, mod: str, num: str):
return f"{v}-{mod}-{num}" if len(mod) > 0 else f"{v}-{count}-{hash}"
mod = f"-{mod}" if len(mod) > 0 else ""
num = f"-{num}" if len(num) > 0 else ""
count = f"-{count}" if len(count) > 0 else ""
hash = f"-{hash}" if len(hash) > 0 else ""
return f"{v}{mod}{num}" if len(mod) > 0 else f"{v}{count}{hash}"


def cargo_version_string(v: str, count: str, hash: str, mod: str, num: str):
Expand Down

0 comments on commit 97962cb

Please sign in to comment.