Skip to content

Commit 0d4af00

Browse files
committed
[etc/publish-all] Update and add APPS
1 parent db23bcd commit 0d4af00

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

etc/common.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ set -e
1717
export COMPONENTS="
1818
unic/common
1919
20-
unic/char/property
2120
unic/char/range
21+
unic/char/property
2222
unic/char
2323
2424
unic/ucd/version
@@ -49,6 +49,11 @@ export COMPONENTS="
4949
unic
5050
"
5151

52+
# List of apps, in order of dependency
53+
export APPS="
54+
apps/cli
55+
"
56+
5257
-() {
5358
cmd="$@"
5459
echo

etc/publish-all.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,16 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2525

2626
# Steps
2727

28-
# Publish all components (ignore failures, because of the version being released already)
28+
# Publish all components
2929
for component in $COMPONENTS; do
3030
- cargo update --verbose --manifest-path "$component/Cargo.toml"
31+
# ignore failures, because of the version being released already
32+
- cargo publish --verbose --manifest-path "$component/Cargo.toml" || true
33+
done
34+
35+
# Publish all apps
36+
for app in $APPS; do
37+
- cargo update --verbose --manifest-path "$component/Cargo.toml"
38+
# ignore failures, because of the version being released already
3139
- cargo publish --verbose --manifest-path "$component/Cargo.toml" || true
3240
done

0 commit comments

Comments
 (0)