We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ff15ee commit 3188e45Copy full SHA for 3188e45
1 file changed
src/frontend-release.sh
@@ -32,7 +32,12 @@ git config --global user.name "${GIT_USERNAME}"
32
git config --global user.email "${GITHUB_USER}@users.noreply.github.com"
33
34
git clone $GIT_SRC
35
-
+cd $GIT_NAME
36
+if [ -n "$GIT_CHANGE_ID" ] && [[ "$GIT_CHANGE_TARGET" == "master" ]] && [[ "$GIT_CHANGE_BRANCH" == "develop" ]]; then
37
+ git checkout $GIT_CHANGE_BRANCH
38
+fi
39
+cd ..
40
+
41
if [ ! -f $GIT_NAME/package.json ]; then
42
rm -rf $GIT_NAME
43
echo "Not a javascript package, the check was wrong"
0 commit comments