adds mbe-mining-dashboard.js to release binaries so you can interact with the miner-cli via a web interface.
This commit is contained in:
parent
fdac15ba43
commit
e36ce20d96
2 changed files with 9 additions and 4 deletions
|
|
@ -49,8 +49,10 @@ archives:
|
|||
- LICENSE
|
||||
# Add the compiled UI to the archive.
|
||||
# This will place the contents of ui/dist into a 'ui' directory in the archive.
|
||||
- src: ui/dist/**/*
|
||||
dst: ui
|
||||
- src: ui/dist/mbe-mining-dashboard.js
|
||||
strip_parent: true
|
||||
|
||||
|
||||
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
|
|
@ -97,7 +99,10 @@ release:
|
|||
## Mining Release {{ .Tag }}
|
||||
|
||||
**Full Changelog**: https://github.com/Snider/Mining/compare/{{ .PreviousTag }}...{{ .Tag }}
|
||||
|
||||
# Upload the standalone UI file as a release asset.
|
||||
extra_files:
|
||||
- glob: mbe-mining-dashboard.js
|
||||
name_template: "mbe-mining-dashboard-{{ .Version }}.js"
|
||||
|
||||
# Announce releases
|
||||
announce:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"build": "ng build --output-path=dist && cat dist/{runtime,polyfills,main}.js > dist/mbe-mining-dashboard.js",
|
||||
"watch": "ng build --watch --configuration development",
|
||||
"test": "ng test"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue