diff --git a/.github/workflows/integration-test-backend.yml b/.github/workflows/integration-test-backend.yml index 7874c800f..678b69e12 100644 --- a/.github/workflows/integration-test-backend.yml +++ b/.github/workflows/integration-test-backend.yml @@ -150,6 +150,8 @@ jobs: uses: actions/checkout@v3 with: repository: instill-ai/instill-core + fetch-depth: 5 # fetch the commit with tag + fetch-tags: true - name: Load .env file uses: cardinalby/export-env-action@v2 @@ -210,6 +212,8 @@ jobs: uses: actions/checkout@v3 with: repository: instill-ai/instill-core + fetch-depth: 5 # fetch the commit with tag + fetch-tags: true - name: Load .env file uses: cardinalby/export-env-action@v2 diff --git a/.github/workflows/integration-test-console.yml b/.github/workflows/integration-test-console.yml index 582e9d522..8b0829a99 100644 --- a/.github/workflows/integration-test-console.yml +++ b/.github/workflows/integration-test-console.yml @@ -114,6 +114,8 @@ jobs: uses: actions/checkout@v3 with: repository: instill-ai/instill-core + fetch-depth: 5 # fetch the commit with tag + fetch-tags: true - name: Load .env file uses: cardinalby/export-env-action@v2 diff --git a/Makefile b/Makefile index b817f4d21..ce8f6198e 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,7 @@ endif UNAME_S := $(shell uname -s) INSTILL_CORE_IMAGE_NAME := instill/core + INSTILL_CORE_VERSION := $(shell git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-) INSTILL_CORE_BUILD_CONTAINER_NAME := instill-core-build @@ -47,6 +48,8 @@ HELM_RELEASE_NAME := core .PHONY: all all: ## Launch all services with their up-to-date release version + @echo "UNAME_S ${UNAME_S}" + @echo "INSTILL_CORE_VERSION ${INSTILL_CORE_VERSION}" @make build-release BUILD=${BUILD} @if [ ! -f "$$(echo ${SYSTEM_CONFIG_PATH}/user_uid)" ]; then \ mkdir -p ${SYSTEM_CONFIG_PATH} && \