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:
parent
aae55fcc2d
commit
cd7fa336b1
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@ -80,8 +80,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
- name: set version
|
|
||||||
run: python setversion.py
|
|
||||||
|
|
||||||
# Build .zip fil for *nix
|
# Build .zip fil for *nix
|
||||||
- run: make
|
- run: make
|
||||||
|
@ -17,7 +17,7 @@ export PYFILES = $(sort $(addsuffix /*.py,$(subst .,/,$(PACKAGES))))
|
|||||||
|
|
||||||
PYTHON ?= /usr/bin/env python3
|
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)
|
svtplay-dl: $(PYFILES)
|
||||||
@# Verify that there's no .build already \
|
@# Verify that there's no .build already \
|
||||||
|
Loading…
Reference in New Issue
Block a user