mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-24 09:02:28 +00:00
Fixed version.sh
This commit is contained in:
parent
9f6a6f5ecd
commit
87589e994a
@ -38,10 +38,6 @@ test-3.5:
|
||||
<<: *test_definition
|
||||
image: "python:3.5"
|
||||
|
||||
test-3.4:
|
||||
<<: *test_definition
|
||||
image: "python:3.4"
|
||||
|
||||
test-2.7:
|
||||
<<: *test_definition
|
||||
image: "python:2.7"
|
||||
|
9
Makefile
9
Makefile
@ -13,7 +13,7 @@ FORCE:
|
||||
|
||||
version: FORCE
|
||||
@echo $(VERSION) > $(NAME)/VERSION
|
||||
@echo $(NAME) $(VERSION)
|
||||
@echo $(VERSION)
|
||||
|
||||
yapf:
|
||||
yapf -i -r senpy
|
||||
@ -79,9 +79,14 @@ clean:
|
||||
@docker images | awk '/$(REPO)\/$(NAME)/{ split($$2, vers, "-"); if(vers[0] != "${VERSION}"){ print $$1":"$$2;}}' | xargs docker rmi 2>/dev/null|| true
|
||||
@docker rmi $(NAME)-debug 2>/dev/null || true
|
||||
|
||||
upload_git:
|
||||
|
||||
git_commit:
|
||||
git commit -a
|
||||
|
||||
git_tag:
|
||||
git tag ${VERSION}
|
||||
|
||||
upload_git:
|
||||
git push --tags origin master
|
||||
|
||||
pip_upload:
|
||||
|
@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
VERSION=$(git describe --long --tags --dirty)
|
||||
git describe --long --tags --dirty
|
||||
|
Loading…
Reference in New Issue
Block a user