We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a54967 commit c4b33b5Copy full SHA for c4b33b5
build.sh
@@ -23,10 +23,10 @@ function get_tag {
23
local KERNEL_VERSION="${1}"
24
25
# list all tags from newest to oldest
26
- (
+ {
27
git --no-pager tag -l --sort=-creatordate | grep "microvm-kernel-${KERNEL_VERSION}-.*\.amzn2" \
28
|| git --no-pager tag -l --sort=-creatordate | grep "kernel-${KERNEL_VERSION}-.*\.amzn2"
29
- ) | head -n1
+ } | head -n1
30
}
31
32
function build_version {
0 commit comments