parent
6e4bef5179
commit
89d69cddc1
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp geofeed.csv dist
|
||||
find dist -type f -exec sed -i 's/var_lastmod/$(date)/g' {} +
|
||||
find dist -type f -exec sed -i 's/var_commithash/$(git rev-parse --short HEAD)/g' {} +
|
||||
find dist -type f -exec sed -i "s/var_lastmod/$(date)/g" {} +
|
||||
find dist -type f -exec sed -i "s/var_commithash/$(git rev-parse --short HEAD)/g" {} +
|
||||
|
||||
ncftpput -R -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER . dist/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue