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 fd23591 commit e382b1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
echo "VENUE=${{ github.event.inputs.venue }}">>$GITHUB_ENV
echo "PROJECT_NAME=podaac">>$GITHUB_ENV
- uses: actions/checkout@v4
- name: Update submodules
run: |
git submodule update --init
# Determine the submodule version and hash
- name: Determine Submodule Hash
Expand All @@ -38,7 +41,6 @@ jobs:
echo "GITHUB_LONG_HASH=$GITHUB_LONG_HASH">>$GITHUB_ENV
ls -al
cd $SUBMODULE_NAME
git pull origin $GITHUB_LONG_HASH
pwd
ls -al
VERSION=$(cat bumpver.toml|grep current_version |grep -v {version} |sed -E "s/current_version = //"|sed -E "s/\"//g")
Expand Down

0 comments on commit e382b1e

Please sign in to comment.