File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 81
81
fi
82
82
83
83
# Get the list of commits between the previous XTS Pass and the current commit
84
+ COMMIT_LIST=""
84
85
LATEST_XTS_PASS_TAG=$(git tag --list --sort=-version:refname "xts-pass-*" | head --lines 1)
85
- LATEST_XTS_PASS_COMMIT=$(git rev-list -n 1 "${LATEST_XTS_PASS_TAG}")
86
- COMMIT_LIST=$(git log --oneline --pretty=format:"%ad - %an <%ae>: %H" --date=short "${LATEST_XTS_PASS_COMMIT}..${XTS_COMMIT}")
86
+ if [[ -n "${LATEST_XTS_PASS_TAG}" ]]; then
87
+ echo "Latest XTS Pass Tag: ${LATEST_XTS_PASS_TAG}"
88
+ LATEST_XTS_PASS_COMMIT=$(git rev-list -n 1 "${LATEST_XTS_PASS_TAG}")
89
+ COMMIT_LIST=$(git log --oneline --pretty=format:"%ad - %an <%ae>: %H" --date=short "${LATEST_XTS_PASS_COMMIT}..${XTS_COMMIT}")
90
+ fi
87
91
88
92
# Check if the tag exists on the main branch
89
93
set +e
You can’t perform that action at this time.
0 commit comments