Fixed makefile to not create packages for .sha256 files
the build failed Details

This commit is contained in:
konrad 2018-01-11 16:26:55 +01:00 committed by kolaente
parent 9527d086b2
commit ea3b6fcc43
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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