clients icon indicating copy to clipboard operation
clients copied to clipboard

Add individual packages hash files to release

Open michalchecinski opened this issue 2 years ago • 1 comments

Type of change

- [ ] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [x] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

Host asset hashes in other place than latest*.yml files.

Code changes

  • scripts/export_sha_to_files.py: Add script to extract SHA hashed for desktop packages from the electron .yml files.
  • .github/workflows/release-desktop.yml: Add steps to get files containing SHA hash for desktop files

Screenshots

Before you submit

  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

michalchecinski avatar Dec 16 '22 12:12 michalchecinski

Thanks @vgrassia for the input! I'll continue working on those after the Holidays :)

michalchecinski avatar Dec 21 '22 16:12 michalchecinski

@vgrassia PR with github action for calculating SHA checksums: https://github.com/bitwarden/gh-actions/pull/95

michalchecinski avatar Jan 02 '23 17:01 michalchecinski