mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
11 lines
226 B
Bash
Executable File
11 lines
226 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
commit=`git log | grep "^commit" | wc -l`
|
|
commit=`expr $commit + 1`
|
|
echo "\nCreating new revision number - $commit"
|
|
|
|
sed -i -e "s/\$version=.*$/\$version=\"0.1r$commit\";/" bin/monitor.php
|
|
|
|
git commit -a
|
|
|