Skip to content

Commit ec6c929

Browse files
committed
feat: Disable cache during self-update
1 parent 8a26800 commit ec6c929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/code.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ code.config.publish:
8686
code.self-update:
8787
@echo '...........Downloading new code.mk file'
8888
@$(eval CODE_MK_PATH = $(shell find ./ -name code.mk))
89-
$(shell curl -o ${CODE_MK_PATH} ${CODE_MK_DOWNLOAD_URL} -k)
89+
$(shell curl -o ${CODE_MK_PATH} ${CODE_MK_DOWNLOAD_URL} -k -H 'Cache-Control: no-cache, no-store' -H 'Pragma: no-cache')
9090
@echo '...........Downloaded. Path: ${CODE_MK_PATH}'

0 commit comments

Comments
 (0)