TUN-8146: Fix Makefile targets should not be run in parallel and install-go script was missing shebang

This commit is contained in:
Chung-Ting 2024-01-11 14:17:13 +00:00
parent 8fc8c17522
commit c8ffdae859
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# !/usr/bin/env bash
cd /tmp
git clone -q https://github.com/cloudflare/go
cd go/src

View File

@ -1,3 +1,6 @@
# The targets cannot be run in parallel
.NOTPARALLEL:
VERSION := $(shell git describe --tags --always --match "[0-9][0-9][0-9][0-9].*.*")
MSI_VERSION := $(shell git tag -l --sort=v:refname | grep "w" | tail -1 | cut -c2-)
#MSI_VERSION expects the format of the tag to be: (wX.X.X). Starts with the w character to not break cfsetup.