From f6ba99134269c7cf06c1738652a73fc61ad35834 Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Thu, 12 Jun 2025 08:54:57 +0000 Subject: [PATCH] :building_construction: build: update submodules in release-make --- .github/scripts/release-make.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/scripts/release-make.sh b/.github/scripts/release-make.sh index 0d40bb6..3b72e95 100755 --- a/.github/scripts/release-make.sh +++ b/.github/scripts/release-make.sh @@ -12,13 +12,10 @@ osc_api_last_release=$(curl -s -H "Authorization: token $GH_TOKEN" $github_url | echo "$osc_api_last_release" > $root/api_version set -x -cd $root/osc-sdk-C -pwd -ls -git fetch origin -git checkout origin/master -cd - -git add $root/osc-sdk-C/ +git -C "$root" submodule update --init --recursive +git -C "$root" submodule foreach 'git fetch origin && git checkout origin/master' +git add "$root/COGNAC" "$root/osc-sdk-C/" + cp $root/osc-sdk-C/osc_sdk.c $root/ cp $root/osc-sdk-C/osc_sdk.h $root/ git add $root/osc_sdk.h $root/osc_sdk.c