Browse Source

chore: make the branch from which Watcher is built a release branch (#1072)

Co-authored-by: Will <edant.io@proton.me>
Will 5 months ago
parent
commit
9acfb8be20
5 changed files with 5 additions and 5 deletions
  1. 1 1
      Dockerfile
  2. 1 1
      alpine.Dockerfile
  3. 1 1
      build-static.sh
  4. 1 1
      dev-alpine.Dockerfile
  5. 1 1
      dev.Dockerfile

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
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