File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,6 @@ echo "Setting pub.dev specific links"
44
55update objectbox/README.md " s|example/README.md|https://pub.dev/packages/objectbox/example|g"
66update objectbox/README.md " s|CHANGELOG.md|https://pub.dev/packages/objectbox/changelog|g"
7- update objectbox/README.md " s|../CONTRIBUTING.md|https://github.com/objectbox/objectbox-dart/blob/main/CONTRIBUTING.md|g"
7+ update objectbox/README.md " s|../CONTRIBUTING.md|https://github.com/objectbox/objectbox-dart/blob/main/CONTRIBUTING.md|g"
8+ # Link generated by pub.dev is missing "objectbox" path, so replace with absolute link.
9+ update objectbox/example/README.md " s|flutter/objectbox_demo|https://github.com/objectbox/objectbox-dart/tree/main/objectbox/example/flutter/objectbox_demo|g"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ find "${root}" -type f -name "pubspec.yaml" \
2323 -exec cp " {}" " {}.original" \; \
2424 -exec " $YQCMD " delete -i " {}" dependency_overrides \;
2525
26- # update links in the readme (see ` git restore "${root}/objectbox/README.md"` below)
26+ # Update links in READMEs (restored by git restore commands below).
2727" ${root} /tool/pubdev-links.sh"
2828
2929# =========================== PUBLISH ======================== #
@@ -62,4 +62,6 @@ find "${root}" -type f -name "pubspec.yaml" \
6262 -exec mv " {}.original" " {}" \;
6363
6464echo " Restoring objectbox/README.md"
65- git restore " ${root} /objectbox/README.md"
65+ git restore " ${root} /objectbox/README.md"
66+ echo " Restoring objectbox/example/README.md"
67+ git restore " ${root} /objectbox/example/README.md"
You can’t perform that action at this time.
0 commit comments