mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-12 02:00:28 +03:00
fdroid --version for installed releases and running from git
This will report the version embedded in the module if it is installed, and will report `git describe` if being run from git. If someone installs from git using pip, this will probably report the version in setup.py, which will be wrong. But that is not a documented install method, and I haven't heard of anyone using it. The recommended way is to run straight from git.
This commit is contained in:
parent
4a4bb3e7a5
commit
3fc2a99d71
3 changed files with 37 additions and 5 deletions
|
|
@ -102,6 +102,12 @@ for testcase in $WORKSPACE/tests/*.TestCase; do
|
|||
done
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
echo_header "print fdroid version"
|
||||
|
||||
$fdroid --version
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
echo_header "build the TeX manual"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue