mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
Rename .pkg to .pkg.archive in release pipeline (#1208)
* Add step to change .pkg file name * Linting
This commit is contained in:
parent
6e69b61128
commit
ad965e54e4
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -253,7 +253,8 @@ jobs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
Copy-Item -Path ./stores/chocolatey -Destination ./dist/chocolatey -Recurse
|
Copy-Item -Path ./stores/chocolatey -Destination ./dist/chocolatey -Recurse
|
||||||
Copy-Item -Path ./dist/nsis-web/Bitwarden-Installer-${{ env._PACKAGE_VERSION }}.exe -Destination ./dist/chocolatey
|
Copy-Item -Path ./dist/nsis-web/Bitwarden-Installer-${{ env._PACKAGE_VERSION }}.exe `
|
||||||
|
-Destination ./dist/chocolatey
|
||||||
|
|
||||||
$checksum = checksum -t sha256 ./dist/chocolatey/Bitwarden-Installer-${{ env._PACKAGE_VERSION }}.exe
|
$checksum = checksum -t sha256 ./dist/chocolatey/Bitwarden-Installer-${{ env._PACKAGE_VERSION }}.exe
|
||||||
$chocoInstall = "./dist/chocolatey/tools/chocolateyinstall.ps1"
|
$chocoInstall = "./dist/chocolatey/tools/chocolateyinstall.ps1"
|
||||||
|
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -67,6 +67,9 @@ jobs:
|
|||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
branch: ${{ steps.branch.outputs.branch-name }}
|
branch: ${{ steps.branch.outputs.branch-name }}
|
||||||
|
|
||||||
|
- name: Rename .pkg to .pkg.archive
|
||||||
|
run: mv Bitwarden-${{ env.PKG_VERSION }}-universal.pkg Bitwarden-${{ env.PKG_VERSION }}-universal.pkg.archive
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: ncipollo/release-action@95215a3cb6e6a1908b3c44e00b4fdb15548b1e09 # v2.8.5
|
uses: ncipollo/release-action@95215a3cb6e6a1908b3c44e00b4fdb15548b1e09 # v2.8.5
|
||||||
env:
|
env:
|
||||||
@ -95,7 +98,7 @@ jobs:
|
|||||||
Bitwarden-${{ env.PKG_VERSION }}-universal.dmg,
|
Bitwarden-${{ env.PKG_VERSION }}-universal.dmg,
|
||||||
Bitwarden-${{ env.PKG_VERSION }}-universal.dmg.blockmap,
|
Bitwarden-${{ env.PKG_VERSION }}-universal.dmg.blockmap,
|
||||||
latest-mac.yml,
|
latest-mac.yml,
|
||||||
Bitwarden-${{ env.PKG_VERSION }}-universal.pkg"
|
Bitwarden-${{ env.PKG_VERSION }}-universal.pkg.archive"
|
||||||
commit: ${{ github.sha }}
|
commit: ${{ github.sha }}
|
||||||
tag: v${{ env.PKG_VERSION }}
|
tag: v${{ env.PKG_VERSION }}
|
||||||
name: Version ${{ env.PKG_VERSION }}
|
name: Version ${{ env.PKG_VERSION }}
|
||||||
|
Loading…
Reference in New Issue
Block a user