fix prod deploy for snap and npm

This commit is contained in:
Kyle Spearrin 2019-03-20 14:15:32 -04:00
parent a59b7a1942
commit 042201e895
2 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,6 @@ after_build:
else {
echo "Deploy Windows..."
.\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION
npm run publish:npm
}
}
- sh: |
@ -135,6 +134,7 @@ after_build:
then
snapcraft logout
fi
- cmd: if ["%PROD_DEPLOY%"] equ ["true"] npm run publish:npm
on_finish:
- ps: |

View File

@ -29,3 +29,4 @@ Copy-Item -Path $snapDir -Destination $distSnapDir Recurse
(Get-Content $snapDistYaml).replace('__version__', $version) | Set-Content $snapDistYaml
cd $distSnapDir
snapcraft
cd $rootDir