mirror of
https://github.com/netfun2000/ip2region.git
synced 2026-02-27 09:44:31 +08:00
12 lines
156 B
Bash
12 lines
156 B
Bash
#!/bin/sh
|
|
echo 'create dir'
|
|
if [ ! -d "data" ]; then
|
|
mkdir data
|
|
fi
|
|
|
|
echo "copy db"
|
|
cp '../../data/ip2region.db' './data/'
|
|
|
|
echo "npm publish"
|
|
npm publish
|