diff --git a/docker/centos-7/pack.sh b/docker/centos-7/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/centos-7/pack.sh +++ b/docker/centos-7/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/debian-bookworm/pack.sh b/docker/debian-bookworm/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/debian-bookworm/pack.sh +++ b/docker/debian-bookworm/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/debian-bullseye/pack.sh b/docker/debian-bullseye/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/debian-bullseye/pack.sh +++ b/docker/debian-bullseye/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/debian-trixie/pack.sh b/docker/debian-trixie/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/debian-trixie/pack.sh +++ b/docker/debian-trixie/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/rockylinux-8/pack.sh b/docker/rockylinux-8/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/rockylinux-8/pack.sh +++ b/docker/rockylinux-8/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/rockylinux-9/pack.sh b/docker/rockylinux-9/pack.sh index 8b8bbc0..ae11df3 100755 --- a/docker/rockylinux-9/pack.sh +++ b/docker/rockylinux-9/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/ubuntu-1804/pack.sh b/docker/ubuntu-1804/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/ubuntu-1804/pack.sh +++ b/docker/ubuntu-1804/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/ubuntu-2004/pack.sh b/docker/ubuntu-2004/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/ubuntu-2004/pack.sh +++ b/docker/ubuntu-2004/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/ubuntu-2204/pack.sh b/docker/ubuntu-2204/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/ubuntu-2204/pack.sh +++ b/docker/ubuntu-2204/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi diff --git a/docker/ubuntu-2404/pack.sh b/docker/ubuntu-2404/pack.sh index 6674e3c..4bc9421 100755 --- a/docker/ubuntu-2404/pack.sh +++ b/docker/ubuntu-2404/pack.sh @@ -29,7 +29,7 @@ pushd ~/go/src/github.com/go-graphite/"${1}/" make clean REPOS="autobuilds" -git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(\-patch[0-9]\+)\?\)\?$' +git describe --abbrev=6 --dirty --always --tags | grep -q '^v[0-9]\+\.[0-9]\+\(\.[0-9]\+\(-patch[0-9]\+\)\?\)\?$' if [[ $? -eq 0 ]]; then REPOS="stable autobuilds" fi