Skip to content

Commit

Permalink
try to get all branches and switch to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Nov 14, 2024
1 parent 8add38b commit 9cac1f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trigger_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: 'dtcenter/METplus'
ref: 'develop'
#ref: 'develop'
path: 'METplus'
fetch-depth: 0
- id: get_version
Expand All @@ -40,11 +40,11 @@ jobs:
repo=${{ github.repository }}
repo=${repo#*/}
version=${{ steps.get_version.outputs.version }}
git -C $GITHUB_WORKSPACE/METplus checkout develop
cmd="$GITHUB_WORKSPACE/METplus/metplus/component_versions.py -i METplotpy -v ${version} -o METplus -f main_v{X}.{Y}"
echo $cmd
metplus_branch=$($cmd)
echo git -C $GITHUB_WORKSPACE/METplus branch -l ${metplus_branch}
git --version
git -C $GITHUB_WORKSPACE/METplus branch -l
branch_exists=$(git -C $GITHUB_WORKSPACE/METplus branch -l ${metplus_branch})
echo branch exists: ${branch_exists}
Expand Down

0 comments on commit 9cac1f7

Please sign in to comment.