1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +01:00

fixing the git repository to publish to

This commit is contained in:
Joseph Flinn 2021-01-15 23:38:39 +00:00
parent af254a1f52
commit 36b9295f1b
2 changed files with 23 additions and 23 deletions

View File

@ -243,30 +243,30 @@ jobs:
name: Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx name: Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx
path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx path: ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx
- name: Deploy to Chocolatey #- name: Deploy to Chocolatey
if: github.event_name == 'release'
run: ./scripts/choco-update.ps1 -version $env:PACKAGE_VERSION
shell: pwsh
- name: Upload Chocolatey nupkg artifact
if: github.event_name == 'release'
uses: actions/upload-artifact@v2
with:
name: bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
path: ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
#- name: Upload release assets
# if: github.event_name == 'release' # if: github.event_name == 'release'
# run: | # run: ./scripts/choco-update.ps1 -version $env:PACKAGE_VERSION
# hub release edit `
# -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx `
# -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx `
# -m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
# $env:RELEASE_TAG_NAME
# shell: pwsh # shell: pwsh
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} #- name: Upload Chocolatey nupkg artifact
# RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} # if: github.event_name == 'release'
# uses: actions/upload-artifact@v2
# with:
# name: bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
# path: ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
- name: Upload release assets
if: github.event_name == 'release'
run: |
hub release edit `
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx `
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx `
-m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
$env:RELEASE_TAG_NAME
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
macos: macos:
runs-on: macos-latest runs-on: macos-latest

View File

@ -13,7 +13,7 @@
"homepage": "https://bitwarden.com", "homepage": "https://bitwarden.com",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/bitwarden/desktop" "url": "https://github.com/joseph-flinn/desktop"
}, },
"license": "GPL-3.0", "license": "GPL-3.0",
"scripts": { "scripts": {