mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
add make release
This commit is contained in:
parent
b7709aa344
commit
e5c50c3f46
4
Makefile
4
Makefile
@ -38,5 +38,9 @@ push:
|
|||||||
@docker tag $(NAME):$(VERSION) $(REMOTE)/$(NAME):latest
|
@docker tag $(NAME):$(VERSION) $(REMOTE)/$(NAME):latest
|
||||||
@docker push $(REMOTE)/$(NAME):latest
|
@docker push $(REMOTE)/$(NAME):latest
|
||||||
|
|
||||||
|
release: image push
|
||||||
|
git tag -f $(VERSION)
|
||||||
|
git push --tags
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(NAME)
|
rm -rf $(NAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user