forked from LaconicNetwork/kompose
Update release script with properly formatted table
Updates the script to properly format the table (had a bit of a shortcoming doing that) as well as remove the leftover file install_guide.txt as it's generated for release notes.
This commit is contained in:
parent
1e6314339e
commit
0c5cfaad84
@ -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