mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
13 lines
336 B
Bash
Executable File
13 lines
336 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
commit=`git log | grep "^commit" | wc -l`
|
|
commit=`expr $commit + 1`
|
|
|
|
sed -i -e "s/\$version=.*$/\$version=\"0.1r$commit\";/" bin/monitor.php
|
|
cp -f /etc/mysql/my.cnf conf/my.cnf
|
|
cp -f defaults.sh conf/defaults.sh
|
|
sed -i -e 's/export SVN_PASSWORD=.*$/export SVN_PASSWORD="password"/' conf/defaults.sh
|
|
|
|
git commit -a
|
|
|