From e27399baa60322915aa1cc2af0aa39eb71a0bae6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 16 Jul 2021 19:38:54 +0300 Subject: [PATCH] Pinpoint patches revision, including Dockerfile. --- Telegram/build/docker/centos_env/Dockerfile | 6 ++++-- docs/building-msvc-x64.md | 4 ++-- docs/building-msvc.md | 4 ++-- docs/building-xcode.md | 4 ++-- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 9d8c91c5c..4865cdc8d 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -29,8 +29,10 @@ ENV LibrariesPath /usr/src/Libraries WORKDIR $LibrariesPath FROM builder AS patches -ADD https://api.github.com/repos/desktop-app/patches/git/refs/heads/master patches-version.json -RUN git clone --depth=1 $GIT/desktop-app/patches.git +RUN git clone $GIT/desktop-app/patches.git + +WORKDIR patches +RUN git checkout 87a2e9ee07 FROM builder AS extra-cmake-modules diff --git a/docs/building-msvc-x64.md b/docs/building-msvc-x64.md index 026b7a430..e6d65c63d 100644 --- a/docs/building-msvc-x64.md +++ b/docs/building-msvc-x64.md @@ -34,7 +34,7 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath*** cd ThirdParty git clone https://github.com/desktop-app/patches.git cd patches - git checkout 4409bae + git checkout 87a2e9ee07 cd ../ git clone https://chromium.googlesource.com/external/gyp cd gyp @@ -65,7 +65,7 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath*** git clone https://github.com/desktop-app/patches.git cd patches - git checkout 4409bae + git checkout 87a2e9ee07 cd .. git clone https://github.com/desktop-app/lzma.git diff --git a/docs/building-msvc.md b/docs/building-msvc.md index 0f0843383..706d6bc49 100644 --- a/docs/building-msvc.md +++ b/docs/building-msvc.md @@ -34,7 +34,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath*** cd ThirdParty git clone https://github.com/desktop-app/patches.git cd patches - git checkout 4409bae + git checkout 87a2e9ee07 cd ../ git clone https://chromium.googlesource.com/external/gyp cd gyp @@ -65,7 +65,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath*** git clone https://github.com/desktop-app/patches.git cd patches - git checkout 4409bae + git checkout 87a2e9ee07 cd .. git clone https://github.com/desktop-app/lzma.git diff --git a/docs/building-xcode.md b/docs/building-xcode.md index a2a802f72..8e6680ac8 100644 --- a/docs/building-xcode.md +++ b/docs/building-xcode.md @@ -29,7 +29,7 @@ Go to ***BuildPath*** and run git clone https://github.com/desktop-app/patches.git cd patches - git checkout 51a9fc5 + git checkout 87a2e9ee07 cd ../ git clone https://chromium.googlesource.com/external/gyp git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git @@ -58,7 +58,7 @@ Go to ***BuildPath*** and run git clone https://github.com/desktop-app/patches.git cd patches - git checkout 51a9fc5 + git checkout 87a2e9ee07 cd .. git clone https://git.tukaani.org/xz.git