Skip to content

Commit

Permalink
generate md5 & sha256 sum script added
Browse files Browse the repository at this point in the history
sums updated accroding to new release v1.1.0
  • Loading branch information
KRTirtho committed Jan 27, 2022
1 parent fb083d9 commit 7cbb9f4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ inno:

choco:
powershell cp build\installer\Spotube-windows-x86_64-setup.exe choco-struct\tools
powershell choco pack .\choco-struct\spotube.nuspec --outputdirectory build
powershell choco pack .\choco-struct\spotube.nuspec --outputdirectory build

gensums:
sh -c scripts/gensums.sh
2 changes: 1 addition & 1 deletion aur-struct/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ pkgbase = spotube
license = BSD 4-Clause
depends = libkeybinder3
source = https://github.com/KRTirtho/spotube/releases/download/v1.1.0/Spotube-linux-x86_64.tar.xz
md5sums = 44f79f93ddaf6f0c4e7d133d2fe34bde
md5sums = 0db87627ddf753bc7f09ebbb282184ee

pkgname = spotube
2 changes: 1 addition & 1 deletion aur-struct/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install=
changelog=
source=("https://github.com/KRTirtho/spotube/releases/download/v${pkgver}/Spotube-linux-x86_64.tar.xz")
noextract=()
md5sums=(44f79f93ddaf6f0c4e7d133d2fe34bde)
md5sums=(0db87627ddf753bc7f09ebbb282184ee)
validpgpkeys=()

package(){
Expand Down
6 changes: 3 additions & 3 deletions choco-struct/tools/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ in verifying that this package's contents are trustworthy.
Please go to releases page
https://github.com/KRTirtho/spotube/releases

Download same version as this choco package (example for v1.0.1)
Download same version as this choco package (example for v1.1.0)
https://github.com/KRTirtho/spotube/releases/tag/v1.0.1

1. get hashes. Run:
powershell -command Get-FileHash tools\Spotube-windows-x86_64-setup.exe

2. The checksums should match the following:
---
Version Hashes for v1.0.1
Version Hashes for v1.1.0


Algorithm Hash Path
--------- ---- ----
SHA256 85820A7169A2C265648D66D8950377C4C8FE11F677D2FE2B03DB5C2815BFEB6D tools\Spotube-windows-x86_64-setup.exe
SHA256 144fb4170b424ae9ecee8941354244cb9744c0913fdc69f730a8b5e40e56753d tools\Spotube-windows-x86_64-setup.exe
4 changes: 4 additions & 0 deletions scripts/gensums.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/env bash
md5sum build/**/*.{AppImage,deb,tar.xz,dmg,exe,nupkg} >build/RELEASE.md5sum
sha256sum build/**/*.{AppImage,deb,tar.xz,dmg,exe,nupkg} >build/RELEASE.sha256sum
sed -i 's|build/Spotube-.*-Bundle/||' build/RELEASE.sha256sum build/RELEASE.md5sum

0 comments on commit 7cbb9f4

Please sign in to comment.