Przeglądaj źródła

Fix: BUILDREV referred to gomobile, not tunnel-core repo rev

Rod Hynes 7 lat temu
rodzic
commit
ce10af3898
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      MobileLibrary/iOS/build-psiphon-framework.sh

+ 3 - 0
MobileLibrary/iOS/build-psiphon-framework.sh

@@ -137,6 +137,9 @@ fi
 # gomobile bind
 #
 
+# Ensure BUILD* variables reflect the tunnel-core repo
+cd ${TUNNEL_CORE_SRC_DIR}
+
 BUILDDATE=$(date +%Y-%m-%dT%H:%M:%S%z)
 BUILDREPO=$(git config --get remote.origin.url)
 BUILDREV=$(git rev-parse --short HEAD)