Skip to content

Commit

Permalink
Update versions for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaltby committed May 13, 2024
1 parent f814553 commit 72853b4
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion appData/src/gb/engine.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.3.0-e4",
"version": "4.0.0-e0",
"fields": [
{
"key": "INPUT_PLATFORM_JUMP",
Expand Down
4 changes: 2 additions & 2 deletions appData/templates/blank/project.gbsproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "___PROJECT_NAME___",
"author": "___AUTHOR___",
"_version": "3.3.0",
"_release": "7",
"_version": "4.0.0",
"_release": "1",
"scenes": [],
"backgrounds": [
{
Expand Down
4 changes: 2 additions & 2 deletions appData/templates/gbhtml/project.gbsproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "___PROJECT_NAME___",
"author": "___AUTHOR___",
"_version": "3.3.0",
"_release": "7",
"_version": "4.0.0",
"_release": "1",
"scenes": [
{
"id": "94c18861-b352-4f49-a64d-52f2e3415077",
Expand Down
4 changes: 2 additions & 2 deletions appData/templates/gbs2/project.gbsproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "___PROJECT_NAME___",
"author": "___AUTHOR___",
"_version": "3.3.0",
"_release": "7",
"_version": "4.0.0",
"_release": "1",
"scenes": [
{
"id": "94c18861-b352-4f49-a64d-52f2e3415077",
Expand Down
2 changes: 1 addition & 1 deletion buildTools/darwin-arm64/tools_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-v2
4.0.0-v1
2 changes: 1 addition & 1 deletion buildTools/darwin-x64/tools_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-v2
4.0.0-v1
2 changes: 1 addition & 1 deletion buildTools/linux-x64/tools_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-v2
4.0.0-v1
2 changes: 1 addition & 1 deletion buildTools/win32-ia32/tools_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-v2
4.0.0-v1
2 changes: 1 addition & 1 deletion buildTools/win32-x64/tools_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-v2
4.0.0-v1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"bugs": {
"url": "https://github.com/chrismaltby/gb-studio/issues"
},
"version": "3.2.1",
"version": "4.0.0-beta1",
"description": "Visual retro game maker",
"main": ".webpack/main",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/project/ejectEngineChangelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ const changes: EngineChange[] = [
modifiedFiles: ["src/core/fade_manager.c"],
},
{
version: "3.3.0-e4",
version: "4.0.0-e0",
description: createDescription("Updates", ["Optimize atan2()"]),
modifiedFiles: ["src/core/math_atan2.c"],
},
Expand Down
8 changes: 6 additions & 2 deletions src/lib/project/migrateProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ import {

const indexById = <T>(arr: T[]) => keyBy(arr, "id");

export const LATEST_PROJECT_VERSION = "3.3.0";
export const LATEST_PROJECT_MINOR_VERSION = "7";
export const LATEST_PROJECT_VERSION = "4.0.0";
export const LATEST_PROJECT_MINOR_VERSION = "1";

const ensureProjectAssetSync = (
relativePath: string,
Expand Down Expand Up @@ -2628,6 +2628,10 @@ const migrateProject = (
data = migrateFrom330r6To330r7Events(data);
release = "7";
}
if (release === "7") {
version = "4.0.0";
release = "1";
}
}

if (process.env.NODE_ENV !== "production") {
Expand Down

0 comments on commit 72853b4

Please sign in to comment.