mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-06 09:37:56 +00:00
fix snapcraft&aur
This commit is contained in:
5
packages/snap/snapcraft.yaml
vendored
5
packages/snap/snapcraft.yaml
vendored
@@ -38,7 +38,10 @@ parts:
|
||||
source: .
|
||||
plugin: nil
|
||||
override-build: |
|
||||
VERSION=$(git describe --abbrev=0 --tags | sed 's/^v//g')
|
||||
VERSION=""
|
||||
if [ hash git &>/dev/null ]; then
|
||||
VERSION=$(git describe --abbrev=0 --tags | sed 's/^v//g')
|
||||
fi
|
||||
if [ -z ${VERSION} ]; then
|
||||
VERSION=$(cat dotdrop/version.py | grep version | sed 's/^.*= .\(.*\).$/\1/g')
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user