We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71cad45 commit 3de235bCopy full SHA for 3de235b
scripts/update-linuxkit-hashes.sh
@@ -20,6 +20,7 @@ case $# in
20
esac
21
22
lkrev=$(git -C $tdir/lk show --oneline -s HEAD)
23
+lktag=$(git -C $tdir/lk tag -l --points-at HEAD)
24
25
update_hash() {
26
local tag=$1; shift
@@ -68,6 +69,10 @@ if [ ! -n "$tag" ] ; then
68
69
echo "Failed to extract kernel tag" >&2
70
exit 1
71
fi
72
+tagmsg=""
73
+if [ -n "$lktag" ] ; then
74
+ tagmsg=$(printf "\nTag: %s" $lktag)
75
+fi
76
# Not update_hash since the tag is not a hash in this case
77
78
echo "Updating to $tag"
@@ -82,7 +87,7 @@ email=$(git config --get user.email)
82
87
cat >$tdir/commit-msg <<EOF
83
88
Updated hashes from https://github.com/linuxkit/linuxkit
84
89
85
-Commit: $lkrev
90
+Commit: $lkrev$tagmsg
86
91
92
Signed-off-by: $uname <$email>
93
EOF
0 commit comments