Skip to content

Commit

Permalink
trying to get submodule version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan M Smolenski committed Feb 2, 2024
1 parent 9ceff29 commit 4745237
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4745237

Please sign in to comment.