From 44d035bc738939b3f9c3e01b709d6603c0d600f7 Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Fri, 31 May 2024 13:02:58 +0100 Subject: [PATCH] Always build w/ latest WASM snapshot --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f6d18a7..27a1b89 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -WASM_BUILD_URL=https://files.openscad.org/snapshots/OpenSCAD-2024.05.29.wasm19480-WebAssembly.zip +WASM_SNAPSHOT_JS_URL=https://files.openscad.org/snapshots/.snapshot_wasm.js +WASM_BUILD_URL=$(shell curl ${WASM_SNAPSHOT_JS_URL} 2>/dev/null | grep https | sed -E "s/.*(https:[^']+)'.*/\1/" ) SINGLE_BRANCH_MAIN=--branch main --single-branch SINGLE_BRANCH=--branch master --single-branch