Skip to content

Commit

Permalink
Add deprecate target
Browse files Browse the repository at this point in the history
  • Loading branch information
saleyn committed Mar 29, 2024
1 parent 4fae229 commit d2dba7c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ test-debug:
publish: docs clean
$(REBAR) hex $(if $(replace),publish --replace,cut)

deprecate:
@if [ -z $(vsn) ]; then \
echo "Usage: $(MAKE) $@ vsn=X.Y.Z - Deprecate version X.Y.Z"; \
exit 1; \
fi
$(REBAR) hex retire erlexec $(vsn) deprecated --message Deprecated

tar:
@rm -f $(TARBALL).tgz; \
cd ..; \
Expand Down

0 comments on commit d2dba7c

Please sign in to comment.