Skip to content

Commit

Permalink
Merge pull request absmach#29 from manuio/make
Browse files Browse the repository at this point in the history
NOISSUE - add release command to Makefile
  • Loading branch information
nmarcetic authored Jan 16, 2020
2 parents fade0e1 + e4d1911 commit 806dd1d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
docker_ui:
ui:
docker build --tag=mainflux/ui -f docker/Dockerfile .

run:
docker-compose -f docker/docker-compose.yml -f docker/aedes.yml up

release:
$(eval version = $(shell git describe --abbrev=0 --tags))
git checkout $(version)
docker tag mainflux/ui mainflux/ui:$(version)
docker push mainflux/ui:$(version)

0 comments on commit 806dd1d

Please sign in to comment.