1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-04-19 19:29:07 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
J. Fernando Sánchez
87589e994a Fixed version.sh 2017-02-27 12:32:34 +01:00
3 changed files with 8 additions and 7 deletions

View File

@ -38,10 +38,6 @@ test-3.5:
<<: *test_definition <<: *test_definition
image: "python:3.5" image: "python:3.5"
test-3.4:
<<: *test_definition
image: "python:3.4"
test-2.7: test-2.7:
<<: *test_definition <<: *test_definition
image: "python:2.7" image: "python:2.7"

View File

@ -13,7 +13,7 @@ FORCE:
version: FORCE version: FORCE
@echo $(VERSION) > $(NAME)/VERSION @echo $(VERSION) > $(NAME)/VERSION
@echo $(NAME) $(VERSION) @echo $(VERSION)
yapf: yapf:
yapf -i -r senpy 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 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 @docker rmi $(NAME)-debug 2>/dev/null || true
upload_git:
git_commit:
git commit -a git commit -a
git_tag:
git tag ${VERSION} git tag ${VERSION}
upload_git:
git push --tags origin master git push --tags origin master
pip_upload: pip_upload:

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
VERSION=$(git describe --long --tags --dirty) git describe --long --tags --dirty