ci/make-git-snapshot.sh: fix archive name

The archive name is libostree even though the project name is ostree, so
we can't rely on the directory name.

Just hardcode it.
This commit is contained in:
Jonathan Lebon 2022-02-03 13:21:54 -05:00
parent 8e445cb957
commit 8d45298a2d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ TOP=$(git rev-parse --show-toplevel)
GITREV=$(git rev-parse HEAD) GITREV=$(git rev-parse HEAD)
gitdescribe=$(git describe --always --tags $GITREV) gitdescribe=$(git describe --always --tags $GITREV)
version=$(echo "$gitdescribe" | sed -e 's,-,\.,g' -e 's,^v,,') version=$(echo "$gitdescribe" | sed -e 's,-,\.,g' -e 's,^v,,')
name=$(basename $(pwd)) name=libostree
PKG_VER="${name}-${version}" PKG_VER="${name}-${version}"
TARFILE=${PKG_VER}.tar TARFILE=${PKG_VER}.tar