Skip to content

Commit b949d9c

Browse files
committed
fix(wine): fix previous regex
1 parent 69d9704 commit b949d9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

wine/devel/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine
1616
RUN set -eux; \
1717
WINE_BUILD="$( \
1818
curl -fsSL "${WINE_LINK}" \
19-
| grep -oE "wine-${WINE_BRANCH}-amd64_[0-9][0-9.]*(-rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?_amd64\.deb" \
20-
| sed -E "s/^wine-${WINE_BRANCH}-amd64_([0-9][0-9.]*(-rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?)_amd64\.deb$/\1/" \
19+
| grep -oE "wine-${WINE_BRANCH}-amd64_[0-9][0-9.]*(~rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?_amd64\.deb" \
20+
| sed -E "s/^wine-${WINE_BRANCH}-amd64_([0-9][0-9.]*(~rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?)_amd64\.deb$/\1/" \
2121
| sort -V | tail -1 \
2222
)"; \
2323
\

wine/staging/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine
1616
RUN set -eux; \
1717
WINE_BUILD="$( \
1818
curl -fsSL "${WINE_LINK}" \
19-
| grep -oE "wine-${WINE_BRANCH}-amd64_[0-9][0-9.]*(-rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?_amd64\.deb" \
20-
| sed -E "s/^wine-${WINE_BRANCH}-amd64_([0-9][0-9.]*(-rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?)_amd64\.deb$/\1/" \
19+
| grep -oE "wine-${WINE_BRANCH}-amd64_[0-9][0-9.]*(~rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?_amd64\.deb" \
20+
| sed -E "s/^wine-${WINE_BRANCH}-amd64_([0-9][0-9.]*(~rc[0-9]+)?~${WINE_DIST}(-[0-9]+)?)_amd64\.deb$/\1/" \
2121
| sort -V | tail -1 \
2222
)"; \
2323
\

0 commit comments

Comments
 (0)