Browse Source

fix prod deploy for snap and npm

pull/76/head
Kyle Spearrin 7 years ago
parent
commit
042201e895
  1. 2
      appveyor.yml
  2. 1
      scripts/snap-build.ps1

2
appveyor.yml

@ -127,7 +127,6 @@ after_build: @@ -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: @@ -135,6 +134,7 @@ after_build:
then
snapcraft logout
fi
- cmd: if ["%PROD_DEPLOY%"] equ ["true"] npm run publish:npm
on_finish:
- ps: |

1
scripts/snap-build.ps1

@ -29,3 +29,4 @@ Copy-Item -Path $snapDir -Destination $distSnapDir –Recurse @@ -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

Loading…
Cancel
Save