File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 elif ! [ -f "$RESULT" ]; then
7676 echo "::error::Couldn't find sdist file" && exit 1
7777 else
78+ RESULT_R=${RESULT/.post/.r}
79+ if [[ "$RESULT_R" != "$RESULT" ]]; then
80+ mv -v "$RESULT" "$RESULT_R"
81+ RESULT="$RESULT_R"
82+ fi
7883 echo "::notice::Successfully generated sdist $RESULT"
7984 fi
8085 echo "sdist-file=$RESULT" >> $GITHUB_OUTPUT
@@ -169,7 +174,7 @@ jobs:
169174 echo "::error::Merge base $MERGE_BASE is not the second parent of main ref $MAIN_BRANCH ($MAIN_PARENT)"
170175 exit 1
171176 fi
172- git merge --no-ff -m "Merge version $GMICPY_VERSION into $MAIN_BRANCH"
177+ git merge --no-ff -m "Merge version $GMICPY_VERSION into $MAIN_BRANCH" "$TARGET"
173178 TAGNAME="v$GMICPY_VERSION"
174179 MERGEHASH=$( git rev-parse HEAD )
175180 git tag "$TAGNAME" && echo "::notice::Tagged merge commit $MERGEHASH as $TAGNAME"
You can’t perform that action at this time.
0 commit comments