1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-28 12:45:45 +01:00

Merge pull request #1 from joseph-flinn/azure-pipelines

Set up CI with Azure Pipelines
This commit is contained in:
Joseph Flinn 2020-12-14 13:38:04 -08:00 committed by GitHub
commit 33d4b22e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,39 @@
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger: none
pool:
vmImage: 'windows-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: npm install
displayName: 'npm install'
- script: |
npm run build
npm npm run clean:dist
displayName: 'npm build'
- script: npx electron-builder --win --x64 --ia32 -p never
displayName: 'electron-builder package'
- script: ls -alht dist
displayName: show executables
# - task: PublishPipelineArtifact@1
# inputs:
# pathToPublish: '$(System.DefaultWorkingDirectory)/dist/Bitwarden-1.23.1-ia32.appx'
# artifactName: Bitwarden-$(GIT_COMMIT_TO_BUILD)-ia32.appx
#
# - task: PublishPipelineArtifact@1
# inputs:
# pathToPublish: '$(System.DefaultWorkingDirectory)/dist/Bitwarden-1.23.1-x64.appx'
# artifactName: Bitwarden-$(GIT_COMMIT_TO_BUILD)-x64.appx

View File

@ -2,7 +2,7 @@
"name": "bitwarden",
"productName": "Bitwarden",
"description": "A secure and free password manager for all of your devices.",
"version": "1.23.1",
"version": "1.23.1a",
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
"homepage": "https://bitwarden.com",
"license": "GPL-3.0",