File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ and skip any others that are only for internal use.
9595
9696### Publish an alpha snapshot
9797
98- TODO: Define the minimal set of files to be published for an alpha .
98+ For the alpha review, publish (at least) the UCD and emoji files, and the charts .
9999
100- TODO: Write a script like / pub/copy-alpha-to-draft.sh that will be run on the unicode. org server
101- and copy the set of the .../dev/ data files for an alpha snapshot
100+ Run the [ pub/copy-alpha-to-draft.sh] ( https://github.com/unicode- org/unicodetools/blob/main/pub/copy-alpha-to-draft.sh )
101+ on the unicode.org server which copies the set of the .../dev/ data files for an alpha snapshot
102102from a unicodetools workspace to the location behind https://www.unicode.org/Public/draft/ .
103103
104104Note: No version/delta infixes in names of data files.
Original file line number Diff line number Diff line change 1+ # Script for
2+ # https://github.com/unicode-org/unicodetools/blob/main/docs/data-workflow.md#publish-an-alpha-snapshot
3+ #
4+ # Invoke like this:
5+ #
6+ # pub/copy-alpha-to-draft.sh ~/unitools/mine/src /tmp/unicode/Public/draft
7+
8+ UNICODETOOLS=$1
9+ DRAFT=$2
10+
11+ UNITOOLS_DATA=$UNICODETOOLS /unicodetools/data
12+
13+ mkdir -p $DRAFT /UCD/ucd
14+ cp -r $UNITOOLS_DATA /ucd/dev/* $DRAFT /UCD/ucd
15+ rm -r $DRAFT /UCD/ucd/Unihan
16+ mv $DRAFT /UCD/ucd/version-ReadMe.txt $DRAFT /UCD/ReadMe.txt
17+ rm $DRAFT /UCD/ucd/zipped-ReadMe.txt
18+
19+ mkdir -p $DRAFT /emoji
20+ cp $UNITOOLS_DATA /emoji/dev/* $DRAFT /emoji
21+ rm $DRAFT /emoji/emoji-data.txt
22+ rm $DRAFT /emoji/emoji-variation-sequences.txt
23+
24+ echo " --------------------"
25+ echo " Copy files from elsewhere:"
26+ echo " - Unihan.zip to $DRAFT /UCD/ucd"
27+ echo " - alpha charts to $DRAFT /UCD/charts"
28+
You can’t perform that action at this time.
0 commit comments