mirror of
https://github.com/Grocel/3D-Stream-Radio.git
synced 2025-03-04 03:03:07 -05:00
10 lines
219 B
Bash
10 lines
219 B
Bash
#!/bin/sh
|
|
filename="data_static/streamradio/version.txt"
|
|
version=$(head -n 1 $filename)
|
|
nextversion=$(($version + 1))
|
|
timestap=$(date -u +%s)
|
|
|
|
echo $nextversion > $filename
|
|
echo $timestap >> $filename
|
|
git add $filename
|