We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e78a8 commit 31fb351Copy full SHA for 31fb351
tasks/cdn_publish.sh
@@ -29,13 +29,11 @@ for path in `ls $dist/plotly*`; do
29
done
30
31
# copy topojson files over to the sync folder
32
-# NOTE: Temporarily adding the suffix '_un' to avoid overwriting the old topojson
33
-# which some old plots might depend on
34
-for filepath in $dist/topojson/*.json; do
35
- f=${filepath##*/}
36
- f=${f%.*}
37
- cp $filepath "$sync/${f%.*}_un.json"
38
-done
+# NOTE: Temporarily syncing topojson to 'un' folder to avoid overwriting the old topojson
+# which some old plots might depend on. These can be accessed by setting 'topojsonURL' to
+# 'https://cdn.plot.ly/un/' in the Plotly config.
+mkdir $sync/un
+cp $dist/topojson/* $sync/un
39
40
# list folder and files
41
echo $sync
0 commit comments