Skip to content

Commit

Permalink
using a variable like this didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickomatic committed Sep 10, 2023
1 parent d4d48d3 commit 6c0b016
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ define tar_release
cp target/$(1)/release/csvpp$(2) $(RELEASE_DIR)/csv++
cp LICENSE.txt README.md $(RELEASE_DIR)/

tar_file=csvpp-$(VERSION)-$(1).tar.gz

# include README, docs and license?
cd $(RELEASE_DIR) && tar -czf $(tar_file) csvpp csv++ \
cd $(RELEASE_DIR) && tar -czf csvpp-$(VERSION)-$(1).tar.gz csvpp csv++ \
&& rm csvpp csv++

gpg --detach-sign --armor $(tar_file)
gpg --detach-sign --armor csvpp-$(VERSION)-$(1).tar.gz
endef

install:
Expand Down

0 comments on commit 6c0b016

Please sign in to comment.