This commit is contained in:
parent
9527d086b2
commit
ea3b6fcc43
|
@ -33,7 +33,7 @@ pipeline:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, pull_request ]
|
||||||
|
|
||||||
# Build a release when tagging
|
# Build a release when tagging
|
||||||
before-static-build:
|
before-static-build:
|
||||||
|
@ -83,7 +83,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: [tag, push]
|
event: [tag, push]
|
||||||
|
|
||||||
build-frontend:
|
static-build-frontend:
|
||||||
image: webhippie/nodejs:current
|
image: webhippie/nodejs:current
|
||||||
pull: true
|
pull: true
|
||||||
group: build-static
|
group: build-static
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -145,7 +145,7 @@ release-check:
|
||||||
|
|
||||||
.PHONY: release-os-package
|
.PHONY: release-os-package
|
||||||
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
|
rm $(DIST)/release/frontend $(DIST)/release/config.ini -rf
|
||||||
|
|
||||||
.PHONY: release-zip
|
.PHONY: release-zip
|
||||||
|
|
Loading…
Reference in New Issue
Block a user