From 4745237a0a258eebf48920fe32f0e37b181a4a34 Mon Sep 17 00:00:00 2001 From: Jonathan M Smolenski Date: Thu, 1 Feb 2024 17:16:51 -0800 Subject: [PATCH] trying to get submodule version --- .github/workflows/deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index c28402e..ba75463 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -37,6 +37,7 @@ jobs: GITHUB_LONG_HASH=$(git submodule status|grep $SUBMODULE_NAME|sed -E "s/ swodlr.*//" |sed -E "s/ //g"|sed -E "s/^-//") echo "GITHUB_LONG_HASH=$GITHUB_LONG_HASH">>$GITHUB_ENV cd $SUBMODULE_NAME + ls -al VERSION=$(cat bumpver.toml|grep current_version |grep -v {version} |sed -E "s/current_version = //"|sed -E "s/\"//g") echo "SUBMODULE_VERSION=$VERSION">>$GITHUB_ENV