Fix the version display
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
"dev": "NODE_ENV=development webpack --mode=development --config=webpack.config.js --watch",
|
"dev": "NODE_ENV=development webpack --mode=development --config=webpack.config.js --watch",
|
||||||
"clean": "rm .tmp/ -rf || true",
|
"clean": "rm .tmp/ -rf || true",
|
||||||
"generate": "npm run clean && NODE_ENV=production webpack --mode=production --config=webpack.config.js",
|
"generate": "npm run clean && NODE_ENV=production webpack --mode=production --config=webpack.config.js",
|
||||||
"build": "npm run generate && CGO_ENABLED=0 go build -ldflags \"-s -w -X github.com/niruix/sshwifty/application.version=$(git describe --always --dirty='*' --tag)\"",
|
"build": "npm run generate && CGO_ENABLED=0 go build -ldflags \"-s -w -X github.com/nirui/sshwifty/application.version=$(git describe --always --dirty='*' --tag)\"",
|
||||||
"lint": "eslint --ext .js,.vue ui",
|
"lint": "eslint --ext .js,.vue ui",
|
||||||
"testonly": "mocha --require @babel/register --recursive --timeout 3s ./ui/**/*_test.js && CGO_ENABLED=1 go test ./... -race -timeout 30s",
|
"testonly": "mocha --require @babel/register --recursive --timeout 3s ./ui/**/*_test.js && CGO_ENABLED=1 go test ./... -race -timeout 30s",
|
||||||
"test": "npm run generate && npm run testonly"
|
"test": "npm run generate && npm run testonly"
|
||||||
|
|||||||
Reference in New Issue
Block a user