1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

Get version from git describe with tags

for some reason this work earlier or something.
This commit is contained in:
Johan Andersson 2021-04-23 20:31:23 +02:00
parent aae55fcc2d
commit cd7fa336b1
2 changed files with 1 additions and 3 deletions

View File

@ -80,8 +80,6 @@ jobs:
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: set version
run: python setversion.py
# Build .zip fil for *nix
- run: make

View File

@ -17,7 +17,7 @@ export PYFILES = $(sort $(addsuffix /*.py,$(subst .,/,$(PACKAGES))))
PYTHON ?= /usr/bin/env python3
VERSION = $(shell git describe 2>/dev/null || echo $(LATEST_RELEASE)-unknown)
VERSION = $(shell git describe --tags --dirty --always 2>/dev/null || echo $(LATEST_RELEASE)-unknown)
svtplay-dl: $(PYFILES)
@# Verify that there's no .build already \