unRAID-NerdTools/develop/create.new.version.sh
2022-09-29 01:40:57 -03:00

17 lines
252 B
Bash
Executable File

#!/bin/bash
BASEDIR=$PWD
cd ../source/NerdPack
./pkg_build.sh $1
version=$(date +"%Y.%m.%d")$1
echo "VERSION: $version"
echo "${BASH_SOURCE[0]}"
sed -i "s/ENTITY version .*/ENTITY version \"$version\">"/ "$BASEDIR/../plugin/NerdTools.plg"