Skip to content

Commit 249f2da

Browse files
committed
chore: bump version to 0.2.0
- update MARKETING_VERSION from 0.1.0 to 0.2.0 - fix version:set task to use mise usage arg syntax
1 parent 797fee4 commit 249f2da

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

PressViz.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
"$(inherited)",
276276
"@executable_path/../Frameworks",
277277
);
278-
MARKETING_VERSION = 0.1.0;
278+
MARKETING_VERSION = 0.2.0;
279279
PRODUCT_BUNDLE_IDENTIFIER = com.mfyuu.PressViz;
280280
PRODUCT_NAME = "$(TARGET_NAME)";
281281
STRING_CATALOG_GENERATE_SYMBOLS = YES;
@@ -304,7 +304,7 @@
304304
"$(inherited)",
305305
"@executable_path/../Frameworks",
306306
);
307-
MARKETING_VERSION = 0.1.0;
307+
MARKETING_VERSION = 0.2.0;
308308
PRODUCT_BUNDLE_IDENTIFIER = com.mfyuu.PressViz;
309309
PRODUCT_NAME = "$(TARGET_NAME)";
310310
STRING_CATALOG_GENERATE_SYMBOLS = YES;

mise.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ description = "Show current version"
1515
run = "grep -m1 'MARKETING_VERSION' PressViz.xcodeproj/project.pbxproj | sed 's/.*= //; s/;$//'"
1616

1717
[tasks."version:set"]
18-
description = "Set version (usage: mise run version:set 1.0.0)"
19-
run = "sed -i '' \"s/MARKETING_VERSION = [^;]*/MARKETING_VERSION = $1/g\" PressViz.xcodeproj/project.pbxproj && mise run version"
18+
description = "Set version"
19+
usage = 'arg "<version>"'
20+
run = "sed -i '' \"s/MARKETING_VERSION = [^;]*/MARKETING_VERSION = ${usage_version}/g\" PressViz.xcodeproj/project.pbxproj && mise run version"
2021

2122
[tasks.dmg]
2223
description = "Create DMG for distribution"

0 commit comments

Comments
 (0)