g214/static/bower_components/echarts/test/ut/configure

11 lines
248 B
Plaintext
Raw Normal View History

2018-08-20 08:21:25 +00:00
if [ "$#" -eq 1 ]; then
# use specific version
old=$1
else
# use last release
old=$(git rev-list --tags --max-count=1)
fi
mkdir -p tmp
cp ../../dist/echarts.js "tmp/newEcharts.js"
git show $old:dist/echarts.js > 'tmp/oldEcharts.js'