Skip to content

Commit

Permalink
Docker for dev build (#58)
Browse files Browse the repository at this point in the history
Handle dev build version (missing from privious commit.)
  • Loading branch information
pvinh-spike authored Feb 2, 2024
1 parent bb5de01 commit 9dfbdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,5 @@ function get_version_from_dockerfile() {
local distro=$1
local edition=$2

grep "ARG AEROSPIKE_X86_64_LINK=" "${edition}/${distro}/Dockerfile" | grep -oE "/[0-9.]+(-rc[0-9]+)?/" | tr -d '/'
grep "ARG AEROSPIKE_X86_64_LINK=" "${edition}/${distro}/Dockerfile" | grep -oE "/[0-9]+[.][0-9]+[.][0-9]+([.][0-9]+)+(-rc[0-9]+)?([-][0-9]*[-]g[0-9a-z]*)?/" | tr -d '/' | tail -1
}

0 comments on commit 9dfbdfe

Please sign in to comment.