Skip to content

Commit

Permalink
Build: Some updates to the release build
Browse files Browse the repository at this point in the history
  • Loading branch information
iagox86 committed Dec 24, 2015
1 parent b916742 commit e2aba27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ all:

clean:
@cd client && make clean
@rm -rf dist/*

debug:
@cd client && make debug
@echo "Debug compile complete!"

release: clean
release:
@make clean
-mkdir dist/
@cd client && make release
@mv client/dnscat .
Expand All @@ -39,7 +39,8 @@ release: clean
@echo "*** By the way, did you update the version number in the server?"
@echo "Release compile complete!"

source_release: clean
source_release:
@make clean
-mkdir dist/
@cp -r client dnscat2_client
@tar -cvvjf dist/dnscat2-${VERSION}-client-source.tar.bz2 dnscat2_client
Expand Down
14 changes: 7 additions & 7 deletions doc/how_to_do_a_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ It even zips them for you! They're put into the dist/ folder.
Releases on other platforms (like Windows) require some manual work at
the moment. Please try to follow my naming scheme:

dnscat2-v0.04-client-source.tar.bz2
dnscat2-v0.04-client-source.zip
dnscat2-v0.04-client-win32.zip
dnscat2-v0.04-client-x64.tar.bz2
dnscat2-v0.04-client-x86.tar.bz2
dnscat2-v0.04-server.tar.bz2
dnscat2-v0.04-server.zip
* dnscat2-v0.04-client-source.tar.bz2
* dnscat2-v0.04-client-source.zip
* dnscat2-v0.04-client-win32.zip
* dnscat2-v0.04-client-x64.tar.bz2
* dnscat2-v0.04-client-x86.tar.bz2
* dnscat2-v0.04-server.tar.bz2
* dnscat2-v0.04-server.zip

For binaries, the binaries in the archive should be simply "dnscat" - no
paths or anything like that.
Expand Down

0 comments on commit e2aba27

Please sign in to comment.