File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ echo "Finding merged pull requests between $BASE_TAG and $LATEST_TAG..."
35
35
PRs=$( git log --pretty=oneline " $BASE_TAG " ..." $LATEST_TAG " | grep ' Merge pull request #' | grep -oE ' #[0-9]+' | sed ' s/#//' )
36
36
37
37
# Find fixed issues from $BASE_TAG to $LATEST_TAG
38
- EXIT_CODE=0
39
38
ISSUES=()
40
39
for pr in $PRs ; do
41
40
id=$( $GHCLI_BIN pr view " $pr " --json body | grep -oE ' (Related issues \| )(.*)?[0-9]+(.*|\r|\n)?(\|)' | sed ' s/[^[:digit:]]//g' | sed -z ' s/\n//g' || true)
@@ -44,7 +43,6 @@ for pr in $PRs; do
44
43
fi
45
44
if ! $GHCLI_BIN issue view " $id " --json title & > /dev/null; then
46
45
echo " Invalid issue $id for pull request $pr . Skipping."
47
- EXIT_CODE=1
48
46
continue
49
47
fi
50
48
ISSUES+=(" $id " )
@@ -75,4 +73,3 @@ for issue in "${ISSUES[@]}"; do
75
73
done
76
74
77
75
echo " Done."
78
- exit $EXIT_CODE
You can’t perform that action at this time.
0 commit comments