Skip to content

Commit 04f92e4

Browse files
chore: bump version to 0.1.5
1 parent d72721c commit 04f92e4

8 files changed

Lines changed: 45 additions & 28 deletions

File tree

landing/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
<div class="container">
343343
<div class="hero-badge">
344344
<svg width="12" height="12" viewBox="0 0 12 12" fill="none"><circle cx="6" cy="6" r="5" fill="#7c3aed"/><circle cx="6" cy="6" r="3" fill="#a78bfa"/></svg>
345-
Community project · v0.1.4
345+
Community project · v0.1.5
346346
</div>
347347

348348
<div style="display:flex; gap:16px; align-items:center; justify-content:center; flex-wrap:wrap;">

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clipper-for-appflowy",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Unofficial community web clipper browser extension for AppFlowy",
55
"bin": {
66
"clipper-for-appflowy": "./dist/cli.cjs"

scripts/bump-version.sh

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ JSON_FILES=(
2626
"dev/manifest.json"
2727
)
2828

29-
PBXPROJ="xcode/Obsidian Web Clipper/Obsidian Web Clipper.xcodeproj/project.pbxproj"
29+
LANDING="landing/index.html"
30+
PACKAGE_LOCK="package-lock.json"
31+
32+
PBXPROJ="xcode/Clipper for AppFlowy/Clipper for AppFlowy.xcodeproj/project.pbxproj"
3033

3134
echo "Bumping version to $NEW_VERSION"
3235
echo ""
@@ -53,5 +56,19 @@ sed -i '' "s/CURRENT_PROJECT_VERSION = $old_build;/CURRENT_PROJECT_VERSION = $ne
5356
build_count=$(grep -c "CURRENT_PROJECT_VERSION = $new_build;" "$pbxpath")
5457
echo "Updated project.pbxproj CURRENT_PROJECT_VERSION: $old_build -> $new_build ($build_count occurrences)"
5558

59+
# Update landing page version
60+
landingpath="$ROOT_DIR/$LANDING"
61+
old_landing=$(grep -o 'v[0-9]*\.[0-9]*\.[0-9]*' "$landingpath" | head -1 | sed 's/v//')
62+
sed -i '' "s/v$old_landing/v$NEW_VERSION/g" "$landingpath"
63+
echo "Updated $LANDING: $old_landing -> $NEW_VERSION"
64+
65+
# Update package-lock.json (top-level and root package entry only)
66+
lockpath="$ROOT_DIR/$PACKAGE_LOCK"
67+
old_lock=$(grep -o '"version": "[^"]*"' "$lockpath" | head -1 | sed 's/"version": "//;s/"//')
68+
# Only replace the first two occurrences (top-level and "" package entry)
69+
awk -v old="\"version\": \"$old_lock\"" -v new="\"version\": \"$NEW_VERSION\"" \
70+
'count<2 && index($0,old){sub(old,new); count++} {print}' "$lockpath" > "$lockpath.tmp" && mv "$lockpath.tmp" "$lockpath"
71+
echo "Updated $PACKAGE_LOCK: $old_lock -> $NEW_VERSION"
72+
5673
echo ""
5774
echo "Done!"

src/manifest.chrome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"default_locale": "en",
44
"name": "Clipper for AppFlowy",
55
"homepage_url": "https://github.com/alexrosepizant/clipper-for-appflowy",
6-
"version": "0.1.4",
6+
"version": "0.1.5",
77
"description": "Unofficial community web clipper browser extension for AppFlowy",
88
"permissions": [
99
"activeTab",

src/manifest.firefox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"default_locale": "en",
44
"name": "Clipper for AppFlowy",
55
"homepage_url": "https://github.com/alexrosepizant/clipper-for-appflowy",
6-
"version": "0.1.4",
6+
"version": "0.1.5",
77
"description": "Unofficial community web clipper browser extension for AppFlowy",
88
"permissions": [
99
"activeTab",

src/manifest.safari.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Clipper for AppFlowy",
44
"homepage_url": "https://github.com/alexrosepizant/clipper-for-appflowy",
5-
"version": "0.1.4",
5+
"version": "0.1.5",
66
"description": "Unofficial community web clipper browser extension for AppFlowy",
77
"permissions": [
88
"activeTab",

xcode/Clipper for AppFlowy/Clipper for AppFlowy.xcodeproj/project.pbxproj

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -703,9 +703,9 @@
703703
buildSettings = {
704704
CODE_SIGN_STYLE = Automatic;
705705

706-
CURRENT_PROJECT_VERSION = 45;
706+
CURRENT_PROJECT_VERSION = 47;
707707
DEVELOPMENT_TEAM = 4F8L8P35UR;
708-
CURRENT_PROJECT_VERSION = 45;
708+
CURRENT_PROJECT_VERSION = 47;
709709
GENERATE_INFOPLIST_FILE = YES;
710710
INFOPLIST_FILE = "iOS (Extension)/Info.plist";
711711
INFOPLIST_KEY_CFBundleDisplayName = "Clipper for AppFlowy";
@@ -716,7 +716,7 @@
716716
"@executable_path/Frameworks",
717717
"@executable_path/../../Frameworks",
718718
);
719-
MARKETING_VERSION = 0.1.3;
719+
MARKETING_VERSION = 0.1.5;
720720
OTHER_LDFLAGS = (
721721
"-framework",
722722
SafariServices,
@@ -737,9 +737,9 @@
737737
buildSettings = {
738738
CODE_SIGN_STYLE = Automatic;
739739

740-
CURRENT_PROJECT_VERSION = 45;
740+
CURRENT_PROJECT_VERSION = 47;
741741
DEVELOPMENT_TEAM = 4F8L8P35UR;
742-
CURRENT_PROJECT_VERSION = 45;
742+
CURRENT_PROJECT_VERSION = 47;
743743
GENERATE_INFOPLIST_FILE = YES;
744744
INFOPLIST_FILE = "iOS (Extension)/Info.plist";
745745
INFOPLIST_KEY_CFBundleDisplayName = "Clipper for AppFlowy";
@@ -750,7 +750,7 @@
750750
"@executable_path/Frameworks",
751751
"@executable_path/../../Frameworks",
752752
);
753-
MARKETING_VERSION = 0.1.3;
753+
MARKETING_VERSION = 0.1.5;
754754
OTHER_LDFLAGS = (
755755
"-framework",
756756
SafariServices,
@@ -775,9 +775,9 @@
775775
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
776776
CODE_SIGN_STYLE = Automatic;
777777

778-
CURRENT_PROJECT_VERSION = 45;
778+
CURRENT_PROJECT_VERSION = 47;
779779
DEVELOPMENT_TEAM = 4F8L8P35UR;
780-
CURRENT_PROJECT_VERSION = 45;
780+
CURRENT_PROJECT_VERSION = 47;
781781
GENERATE_INFOPLIST_FILE = YES;
782782
INFOPLIST_FILE = "iOS (App)/Info.plist";
783783
INFOPLIST_KEY_CFBundleDisplayName = "Clipper for AppFlowy";
@@ -792,7 +792,7 @@
792792
"$(inherited)",
793793
"@executable_path/Frameworks",
794794
);
795-
MARKETING_VERSION = 0.1.3;
795+
MARKETING_VERSION = 0.1.5;
796796
OTHER_LDFLAGS = (
797797
"-framework",
798798
SafariServices,
@@ -816,9 +816,9 @@
816816
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
817817
CODE_SIGN_STYLE = Automatic;
818818

819-
CURRENT_PROJECT_VERSION = 45;
819+
CURRENT_PROJECT_VERSION = 47;
820820
DEVELOPMENT_TEAM = 4F8L8P35UR;
821-
CURRENT_PROJECT_VERSION = 45;
821+
CURRENT_PROJECT_VERSION = 47;
822822
GENERATE_INFOPLIST_FILE = YES;
823823
INFOPLIST_FILE = "iOS (App)/Info.plist";
824824
INFOPLIST_KEY_CFBundleDisplayName = "Clipper for AppFlowy";
@@ -833,7 +833,7 @@
833833
"$(inherited)",
834834
"@executable_path/Frameworks",
835835
);
836-
MARKETING_VERSION = 0.1.3;
836+
MARKETING_VERSION = 0.1.5;
837837
OTHER_LDFLAGS = (
838838
"-framework",
839839
SafariServices,
@@ -856,7 +856,7 @@
856856
CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Clipper for AppFlowy.entitlements";
857857
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
858858
CODE_SIGN_STYLE = Automatic;
859-
CURRENT_PROJECT_VERSION = 45;
859+
CURRENT_PROJECT_VERSION = 47;
860860
DEAD_CODE_STRIPPING = YES;
861861
DEVELOPMENT_ASSET_PATHS = "Shared\\ (App)/Assets.xcassets";
862862
DEVELOPMENT_TEAM = 4F8L8P35UR;
@@ -873,7 +873,7 @@
873873
"@executable_path/../../../../Frameworks",
874874
);
875875
MACOSX_DEPLOYMENT_TARGET = 11.0;
876-
MARKETING_VERSION = 0.1.3;
876+
MARKETING_VERSION = 0.1.5;
877877
OTHER_LDFLAGS = (
878878
"-framework",
879879
SafariServices,
@@ -894,7 +894,7 @@
894894
CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Clipper for AppFlowy.entitlements";
895895
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
896896
CODE_SIGN_STYLE = Automatic;
897-
CURRENT_PROJECT_VERSION = 45;
897+
CURRENT_PROJECT_VERSION = 47;
898898
DEAD_CODE_STRIPPING = YES;
899899
DEVELOPMENT_ASSET_PATHS = "Shared\\ (App)/Assets.xcassets";
900900
DEVELOPMENT_TEAM = 4F8L8P35UR;
@@ -911,7 +911,7 @@
911911
"@executable_path/../../../../Frameworks",
912912
);
913913
MACOSX_DEPLOYMENT_TARGET = 11.0;
914-
MARKETING_VERSION = 0.1.3;
914+
MARKETING_VERSION = 0.1.5;
915915
OTHER_LDFLAGS = (
916916
"-framework",
917917
SafariServices,
@@ -935,7 +935,7 @@
935935
CODE_SIGN_ENTITLEMENTS = "macOS (App)/Clipper for AppFlowy.entitlements";
936936
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
937937
CODE_SIGN_STYLE = Automatic;
938-
CURRENT_PROJECT_VERSION = 45;
938+
CURRENT_PROJECT_VERSION = 47;
939939
DEAD_CODE_STRIPPING = YES;
940940
DEVELOPMENT_TEAM = 4F8L8P35UR;
941941
ENABLE_APP_SANDBOX = YES;
@@ -953,7 +953,7 @@
953953
"@executable_path/../Frameworks",
954954
);
955955
MACOSX_DEPLOYMENT_TARGET = 11.0;
956-
MARKETING_VERSION = 0.1.3;
956+
MARKETING_VERSION = 0.1.5;
957957
OTHER_LDFLAGS = (
958958
"-framework",
959959
SafariServices,
@@ -977,7 +977,7 @@
977977
CODE_SIGN_ENTITLEMENTS = "macOS (App)/Clipper for AppFlowy.entitlements";
978978
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
979979
CODE_SIGN_STYLE = Automatic;
980-
CURRENT_PROJECT_VERSION = 45;
980+
CURRENT_PROJECT_VERSION = 47;
981981
DEAD_CODE_STRIPPING = YES;
982982
DEVELOPMENT_TEAM = 4F8L8P35UR;
983983
ENABLE_APP_SANDBOX = YES;
@@ -995,7 +995,7 @@
995995
"@executable_path/../Frameworks",
996996
);
997997
MACOSX_DEPLOYMENT_TARGET = 11.0;
998-
MARKETING_VERSION = 0.1.3;
998+
MARKETING_VERSION = 0.1.5;
999999
OTHER_LDFLAGS = (
10001000
"-framework",
10011001
SafariServices,

0 commit comments

Comments
 (0)