Skip to content

Commit bf4309b

Browse files
committed
Protect against branches named "." in generate-stackbrew-library.sh
1 parent 8dd2347 commit bf4309b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-stackbrew-library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ url='git://github.com/docker-library/wordpress'
77

88
echo '# maintainer: InfoSiftr <[email protected]> (@infosiftr)'
99

10-
commit="$(git log -1 --format='format:%H' .)"
10+
commit="$(git log -1 --format='format:%H' -- .)"
1111
fullVersion="$(grep -m1 'ENV WORDPRESS_VERSION ' Dockerfile | cut -d' ' -f3)"
1212

1313
versionAliases=()

0 commit comments

Comments
 (0)