Skip to content

Commit

Permalink
test3
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Nov 14, 2024
1 parent 8930bd1 commit de1015f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/trigger_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ jobs:
cmd="$GITHUB_WORKSPACE/METplus/metplus/component_versions.py -i METplotpy -v ${version} -o METplus -f main_v{X}.{Y}"
echo $cmd
metplus_branch=$($cmd)
# TODO: if no branch can be determined, exit and error
echo git -C $GITHUB_WORKSPACE/METplus branch -l ${metplus_branch}
git -C $GITHUB_WORKSPACE/METplus branch -l
branch_exists=$(git -C $GITHUB_WORKSPACE/METplus branch -l ${metplus_branch})
#branch_exists=$(git -C $GITHUB_WORKSPACE/METplus branch -l ${metplus_branch})
branch_exists=$(git -C $GITHUB_WORKSPACE/METplus branch -l main_v5.0)
echo branch exists: ${branch_exists}
if [ -z "${branch_exists}" ]; then
echo "METplus branch ${metplus_branch} does not exist yet"
Expand Down

0 comments on commit de1015f

Please sign in to comment.