mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-22 02:53:05 +00:00
#184 humming along
This commit is contained in:
parent
5e2a2d82d0
commit
4c6f843b8a
3 changed files with 5 additions and 4 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "webtools-ng",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.8",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
"homepage": "https://github.com/WebTools-NG/WebTools-NG",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service electron:serve",
|
||||
"serve": "vue-cli-service electron:serve",
|
||||
"build": "run-script-os",
|
||||
"build:darwin:linux": "chmod +x script/getGitVer.sh && script/getGitVer.sh && vue-cli-service electron:build",
|
||||
"build:darwin:linux": "chmod +x script/getGitVer.sh && . script/getGitVer.sh && vue-cli-service electron:build && unset AppRev",
|
||||
"build:win32": "vue-cli-service electron:build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"electron:build": "vue-cli-service electron:build",
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
# get commit hash
|
||||
rev=$(git rev-parse --short HEAD 2>&1)
|
||||
# Export to env as well, for the artifact
|
||||
export AppRev=$(git rev-parse --short HEAD 2>&1)
|
||||
echo $(git rev-parse --short HEAD)
|
||||
export AppRev=$(git rev-parse --short HEAD)
|
||||
# Get git root directory
|
||||
root=$(git rev-parse --show-toplevel 2>&1)
|
||||
# Save to version file
|
||||
|
|
Loading…
Reference in a new issue