Skip to content

Commit

Permalink
Package Windows service scripts for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaspitfire committed Feb 9, 2016
1 parent bec8de0 commit 3d19484
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
v0.1.1
------
Provides scripts to [un]install Factbeat as a Windows service.

v0.1.0
------
First release.
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,14 @@ ifndef FACTBEAT_RELEASE_VERSION
false
endif

release: validate-release build test
release: validate-release clean build test
docker-compose run builder tar -czvf factbeat-$(FACTBEAT_RELEASE_VERSION)-x86_64.tar.gz \
factbeat factbeat.template.json factbeat.yml
factbeat factbeat.template.json factbeat.yml

docker-compose run builder zip factbeat-$(FACTBEAT_RELEASE_VERSION)-windows.zip \
factbeat.exe factbeat.template.json factbeat.yml
docker-compose run builder zip --junk-paths \
factbeat-$(FACTBEAT_RELEASE_VERSION)-windows.zip \
factbeat.exe factbeat.template.json factbeat.yml \
support/install-service-factbeat.ps1 support/uninstall-service-factbeat.ps1

clean:
rm -f factbeat factbeat.exe factbeat-*.zip factbeat-*.tar.gz

0 comments on commit 3d19484

Please sign in to comment.