From 9acfb8be20604d617d80207e66472c5070b3b534 Mon Sep 17 00:00:00 2001 From: Will Date: Fri, 11 Oct 2024 11:37:53 -0400 Subject: [PATCH] chore: make the branch from which Watcher is built a release branch (#1072) Co-authored-by: Will --- Dockerfile | 2 +- alpine.Dockerfile | 2 +- build-static.sh | 2 +- dev-alpine.Dockerfile | 2 +- dev.Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bb52a698..d20a984d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -87,7 +87,7 @@ COPY --link internal internal COPY --link testdata testdata # install edant/watcher (necessary for file watching) -ARG EDANT_WATCHER_VERSION=next +ARG EDANT_WATCHER_VERSION=release WORKDIR /usr/local/src/watcher RUN curl -L https://github.com/e-dant/watcher/archive/refs/heads/$EDANT_WATCHER_VERSION.tar.gz | tar xz WORKDIR /usr/local/src/watcher/watcher-$EDANT_WATCHER_VERSION/watcher-c diff --git a/alpine.Dockerfile b/alpine.Dockerfile index 64bb47ff5..08234c497 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -108,7 +108,7 @@ COPY --link internal internal COPY --link testdata testdata # install edant/watcher (necessary for file watching) -ARG EDANT_WATCHER_VERSION=next +ARG EDANT_WATCHER_VERSION=release WORKDIR /usr/local/src/watcher RUN curl -L https://github.com/e-dant/watcher/archive/refs/heads/$EDANT_WATCHER_VERSION.tar.gz | tar xz WORKDIR /usr/local/src/watcher/watcher-$EDANT_WATCHER_VERSION/watcher-c diff --git a/build-static.sh b/build-static.sh index 5b3461ed2..df213dfa2 100755 --- a/build-static.sh +++ b/build-static.sh @@ -144,7 +144,7 @@ if [ "${os}" = "linux" ]; then fi # install edant/watcher for file watching (static version) -git clone --branch="${EDANT_WATCHER_VERSION:-next}" https://github.com/e-dant/watcher watcher +git clone --branch="${EDANT_WATCHER_VERSION:-release}" https://github.com/e-dant/watcher watcher cd watcher/watcher-c cc -c -o libwatcher.o ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -Wall -Wextra -fPIC ar rcs libwatcher.a libwatcher.o diff --git a/dev-alpine.Dockerfile b/dev-alpine.Dockerfile index 60ded943f..5903f7e69 100644 --- a/dev-alpine.Dockerfile +++ b/dev-alpine.Dockerfile @@ -64,7 +64,7 @@ RUN git clone --branch=PHP-8.3 https://github.com/php/php-src.git . && \ php --version # install edant/watcher (necessary for file watching) -ARG EDANT_WATCHER_VERSION=next +ARG EDANT_WATCHER_VERSION=release WORKDIR /usr/local/src/watcher RUN git clone --branch=$EDANT_WATCHER_VERSION https://github.com/e-dant/watcher . WORKDIR /usr/local/src/watcher/watcher-c diff --git a/dev.Dockerfile b/dev.Dockerfile index 455f447b8..76a1a89bc 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -66,7 +66,7 @@ RUN git clone --branch=PHP-8.3 https://github.com/php/php-src.git . && \ php --version # install edant/watcher (necessary for file watching) -ARG EDANT_WATCHER_VERSION=next +ARG EDANT_WATCHER_VERSION=release WORKDIR /usr/local/src/watcher RUN git clone --branch=$EDANT_WATCHER_VERSION https://github.com/e-dant/watcher . WORKDIR /usr/local/src/watcher/watcher-c