Install before dist
This commit is contained in:
@@ -26,6 +26,8 @@ pushd "%ROOT%"
|
||||
)
|
||||
set OUT_FILE=repertory-ui_%APP_VER%_win.exe
|
||||
|
||||
call npm install
|
||||
|
||||
call npm run dist && (
|
||||
pushd dist
|
||||
(certutil -hashfile "%OUT_FILE%" SHA256 | %SED_BIN% -e "1d" -e "$d" -e "s/\ //g") > "%OUT_FILE%.sha256" || (call :ERROR "Create sha-256 failed")
|
||||
|
||||
@@ -38,6 +38,8 @@ upload_to_bitbucket() {
|
||||
|
||||
chmod +x "bin/${JQ_EXEC}" || exit_script "chmod +x ${JQ_EXEC} failed"
|
||||
|
||||
npm install
|
||||
|
||||
if npm run dist; then
|
||||
cd dist
|
||||
${SHA256_EXEC} ${OUT_FILE} > ${OUT_FILE}.sha256 || exit_script "Create sha256 failed"
|
||||
|
||||
Reference in New Issue
Block a user