mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 04:56:12 +03:00
copr: fix logic around source archive name for !copr
This commit is contained in:
parent
99639ad5b3
commit
45827136ed
@ -11,7 +11,7 @@ else
|
||||
TAR_NAME=wezterm-${TAG_NAME}-src.tar
|
||||
fi
|
||||
|
||||
if test -d ${COPR_SRPM} ; then
|
||||
if test -n "${COPR_SRPM}" ; then
|
||||
TAG_NAME=$(git -c "core.abbrev=8" show -s "--format=%cd_%h" "--date=format:%Y%m%d_%H%M%S")
|
||||
TAR_NAME=wezterm-${TAG_NAME}.tar
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user