Pull Requests | Issues | v1.36.1...v1.37.0
Features
#1762 Support default checksum parser
aqua supported two checksum file format raw
and regexp
and the file format is mandatory.
This pull request supports a default file format and the file format becomes optional.
If a checksum file contains only one line and doesn't contain a space
, a file content is treated as checksum.
e.g.
0549CBAA2DF451CF3A2011A9D73A9CB127784D26749D9CD14C9F4818AF104D44
Each line is split by a space
.
The first element is treated as a checksum
The second element is treated as a file path, and the base name is treated as the asset name.
e.g.
944fdfebfdf1026d318609cc706bad454196f0b1d76e557b56c829b0e6165a9f ./kapp-linux-arm64
9aaa735985efbe240af0ca1d80adf3b43be6cf4ec6620a053082e31bea25dae7 ./kapp-linux-amd64
dcbf6dd9b4cecfc6316391029a6e9a5f3863e6a1f7848eb5fb78bfdbdc06faf8 ./kapp-darwin-amd64
e802044c2676455464675e290ea5b5eed7da9741eae1260af8d8d15355495db3 ./kapp-windows-amd64.exe
f059d708fc550c516d1f04ee4c82efd8bc346c480156c03a3445825c73d827a6 ./kapp-darwin-arm64
Why this feature is needed
This feature works well flexibly and we don't have to fix checksum configuration when the checksum file format is changed.
We don't have to write complicated regular expressions.
This feature improves the maintainability of checksum configuration.
Others
#1764 Update Go from v1.20.1 to v1.20.2