mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:15:43 +01:00
github workflow: try to fix the empty version
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
bcacde5109
commit
3ca6cd71ae
1 changed files with 1 additions and 0 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -52,6 +52,7 @@ jobs:
|
|||
cd alsa-utils
|
||||
mv configure.ac configure.ac.old
|
||||
version=$(git describe | sed -e 's/v//')
|
||||
if test -z "$version"; then version=$(git describe --tags | sed -e 's/v//'); fi
|
||||
echo "Version: ${version}"
|
||||
sed -r "s/AC_INIT\(alsa-utils,.*\)/AC_INIT(alsa-utils, ${version})/" < configure.ac.old > configure.ac.tmp
|
||||
sed -e 's;po/Makefile.in;;' < configure.ac.tmp > configure.ac
|
||||
|
|
Loading…
Reference in a new issue