Skip to content

Commit

Permalink
refactor: gz_releases后删除执行文件
Browse files Browse the repository at this point in the history
  • Loading branch information
DHBin committed Oct 31, 2024
1 parent b5219c6 commit 72cbf51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ $(gz_releases): %.gz : %
cp example.json $(BINDIR)/example.json
chmod +x $(BINDIR)/$(NAME)-$(basename $@)
tar --transform 's/$(NAME)-$(basename $@)/$(NAME)/' -czf $(BINDIR)/$(NAME)-$(basename $@)-$(VERSION).tar.gz -C $(BINDIR) $(NAME)-$(basename $@) example.json
rm -f $(BINDIR)/$(NAME)-$(basename $@)

$(zip_releases): %.zip : %
cp example.json $(BINDIR)/example.json
Expand Down

0 comments on commit 72cbf51

Please sign in to comment.