Home GnuPG

Add git revision to version number only if source is a git repo

Description

Add git revision to version number only if source is a git repo

Check if the source folder is a git working tree by looking for a .git
file or folder instead of relying solely on git rev-parse. The latter
will also succeed if the source tarball is extracted inside an unrelated
git working tree (as we did with gpg4win 4.x).

This change also removes the kleopatra_release variable which is long
obsolete.

(cherry picked from commit 4a4d1d7c8ef879cd723e37f3341f91cae5ee9a7b)

Details

Provenance
ikloeckerAuthored on Thu, Jan 22, 1:58 PM
Parents
rKLEOPATRAd1b1821f7722: Remove special hard-coded version number of Kleopatra
Branches
Unknown
Tags
Unknown