diff --git a/.drone.yml b/.drone.yml index 782817b..abcf923 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,7 +33,7 @@ pipeline: - npm install - npm run build when: - event: [ push, tag, pull_request ] + event: [ push, pull_request ] # Build a release when tagging before-static-build: @@ -83,14 +83,14 @@ pipeline: when: event: [tag, push] - build-frontend: + static-build-frontend: image: webhippie/nodejs:current pull: true group: build-static commands: - make release-frontend when: - event: [ push, tag ] + event: [push, tag ] after-build-static: image: karalabe/xgo-latest:latest diff --git a/Makefile b/Makefile index 0e97daf..5df4f96 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ release-check: .PHONY: release-os-package release-os-package: - $(foreach file,$(wildcard $(DIST)/release/$(EXECUTABLE)-*),mkdir $(file)-full;mv $(file) $(file)-full/; mv $(file).sha256 $(file)-full/; cp config.ini.sample $(file)-full/config.ini; cp $(DIST)/release/frontend $(file)-full/ -R; ) + $(foreach file,$(filter-out %.sha256,$(wildcard $(DIST)/release/$(EXECUTABLE)-*)),mkdir $(file)-full;mv $(file) $(file)-full/; mv $(file).sha256 $(file)-full/; cp config.ini.sample $(file)-full/config.ini; cp $(DIST)/release/frontend $(file)-full/ -R; ) rm $(DIST)/release/frontend $(DIST)/release/config.ini -rf .PHONY: release-zip