forked from LaconicNetwork/kompose
Merge pull request #724 from cdrage/update-it-again-release
Update release script with properly formatted table
This commit is contained in:
commit
be17e101b9
@ -185,13 +185,14 @@ Download from [GitHub](https://github.com/kubernetes/kompose/releases/download/v
|
|||||||
|
|
||||||
__Checksums:__
|
__Checksums:__
|
||||||
|
|
||||||
Filename | SHA256 Hash
|
| Filename | SHA256 Hash |
|
||||||
-----------------------" > install_guide.txt
|
| ------------- |:-------------:|" > install_guide.txt
|
||||||
|
|
||||||
for f in bin/*
|
for f in bin/*
|
||||||
do
|
do
|
||||||
HASH=`sha256sum $f | head -n1 | awk '{print $1;}'`
|
HASH=`sha256sum $f | head -n1 | awk '{print $1;}'`
|
||||||
echo "$f | $HASH" >> install_guide.txt
|
NAME=`echo $f | sed "s,bin/,,g"`
|
||||||
|
echo "[$NAME](https://github.com/kubernetes/kompose/releases/download/v$1/$NAME) | $HASH" >> install_guide.txt
|
||||||
done
|
done
|
||||||
|
|
||||||
# Append the file to the file
|
# Append the file to the file
|
||||||
@ -243,7 +244,7 @@ push() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
clean() {
|
clean() {
|
||||||
rm changes.txt
|
rm changes.txt install_guide.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user