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 4745237 commit 511d2fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
echo "SUBMODULE_NAME=$SUBMODULE_NAME">>$GITHUB_ENV
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
ls -al
cd $SUBMODULE_NAME
pwd
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 511d2fa

Please sign in to comment.