Skip to content

Commit 7cbb9f4

Browse files
committed
generate md5 & sha256 sum script added
sums updated accroding to new release v1.1.0
1 parent fb083d9 commit 7cbb9f4

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,7 @@ inno:
4545

4646
choco:
4747
powershell cp build\installer\Spotube-windows-x86_64-setup.exe choco-struct\tools
48-
powershell choco pack .\choco-struct\spotube.nuspec --outputdirectory build
48+
powershell choco pack .\choco-struct\spotube.nuspec --outputdirectory build
49+
50+
gensums:
51+
sh -c scripts/gensums.sh

aur-struct/.SRCINFO

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ pkgbase = spotube
77
license = BSD 4-Clause
88
depends = libkeybinder3
99
source = https://github.com/KRTirtho/spotube/releases/download/v1.1.0/Spotube-linux-x86_64.tar.xz
10-
md5sums = 44f79f93ddaf6f0c4e7d133d2fe34bde
10+
md5sums = 0db87627ddf753bc7f09ebbb282184ee
1111

1212
pkgname = spotube

aur-struct/PKGBUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ install=
2121
changelog=
2222
source=("https://github.com/KRTirtho/spotube/releases/download/v${pkgver}/Spotube-linux-x86_64.tar.xz")
2323
noextract=()
24-
md5sums=(44f79f93ddaf6f0c4e7d133d2fe34bde)
24+
md5sums=(0db87627ddf753bc7f09ebbb282184ee)
2525
validpgpkeys=()
2626

2727
package(){

choco-struct/tools/VERIFICATION.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ in verifying that this package's contents are trustworthy.
77
Please go to releases page
88
https://github.com/KRTirtho/spotube/releases
99

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

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

1616
2. The checksums should match the following:
1717
---
18-
Version Hashes for v1.0.1
18+
Version Hashes for v1.1.0
1919

2020

2121
Algorithm Hash Path
2222
--------- ---- ----
23-
SHA256 85820A7169A2C265648D66D8950377C4C8FE11F677D2FE2B03DB5C2815BFEB6D tools\Spotube-windows-x86_64-setup.exe
23+
SHA256 144fb4170b424ae9ecee8941354244cb9744c0913fdc69f730a8b5e40e56753d tools\Spotube-windows-x86_64-setup.exe

scripts/gensums.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/env bash
2+
md5sum build/**/*.{AppImage,deb,tar.xz,dmg,exe,nupkg} >build/RELEASE.md5sum
3+
sha256sum build/**/*.{AppImage,deb,tar.xz,dmg,exe,nupkg} >build/RELEASE.sha256sum
4+
sed -i 's|build/Spotube-.*-Bundle/||' build/RELEASE.sha256sum build/RELEASE.md5sum

0 commit comments

Comments
 (0)