OBSW Update Commands #302

Merged
meierj merged 42 commits from mueller/obsw-update-cmds into develop 2022-09-29 13:24:17 +02:00
Showing only changes of commit afba412fe2 - Show all commits

7
scripts/create-version-file.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
obsw_version_filename="obsw_version.txt"
version_cmd="git describe --tags --always --exclude docker_*"
version_tag=$(${version_cmd})
echo "-I- Running ${version_cmd} to retrieve OBSW version and store it into ${obsw_version_filename}"
echo "-I- Detected version tag ${version_tag}"
echo ${version_tag} > ${obsw_version_filename}