We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a3342e commit 6fd04fcCopy full SHA for 6fd04fc
Makefile
@@ -10,7 +10,19 @@
10
# with this name, it will be used.
11
#
12
# The convention here is tailscale-android-build-amd64-<date>
13
-DOCKER_IMAGE=tailscale-android-build-amd64-191124
+#
14
+# Compute a quarterly version string.
15
+year=$(date +%y)
16
+month=$(date +%m)
17
+# Convert month to an integer.
18
+month_int=$(printf "%d" "$month")
19
+# Calculate the quarter's start month:
20
+# Quarter = floor((month-1)/3), then start = (quarter*3)+1.
21
+quarter_start=$(( ((month_int - 1) / 3) * 3 + 1 ))
22
+formatted_quarter=$(printf "%02d" "$quarter_start")
23
+
24
+# Set the Docker image name. This will update every 3 months.
25
+DOCKER_IMAGE="tailscale-android-build-amd64-${year}${formatted_quarter}"
26
export TS_USE_TOOLCHAIN=1
27
28
DEBUG_APK=tailscale-debug.apk
0 commit comments