Minor copy updates

This commit is contained in:
GH Action - Upstream Sync
2021-07-18 20:49:57 -05:00
parent c39df4318b
commit f8b8552a56
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
# check latest commit hashes for a match, exit if nothing to sync
check_for_updates() {
write_out -1 'Checking for new commits on upstream branch.'
write_out -1 'Checking for new commits on upstream branch.\n'
# get latest commit hashes from local and remote branches for comparison
# shellcheck disable=SC2086
+1 -1
View File
@@ -9,7 +9,7 @@ set_upstream() {
# write_out "$?" "Could not verify upstream repo."
# fi
write_out "r" "SUCCESS\n"
write_out "g" "SUCCESS\n"
}
# # LOCAL MODE - handle if 'upstream' repo url is already set to another value
+1 -1
View File
@@ -31,7 +31,7 @@ test_upstream_branch_exists() {
VERIFY_UPSTREAM_BRANCH=$(git ls-remote "${UPSTREAM_REPO_URL}" --refs "${INPUT_UPSTREAM_SYNC_BRANCH}")
if [ -z "${VERIFY_UPSTREAM_BRANCH}" ]; then
write_out "r" "Test 3 FAILED - no branch '${INPUT_UPSTREAM_SYNC_BRANCH}' found on remote repo\n"
write_out "r" "FAILED - no branch '${INPUT_UPSTREAM_SYNC_BRANCH}' found on remote repo\n"
else
write_out "g" "PASSED\n"
fi
+1 -1
View File
@@ -20,7 +20,7 @@ test_has_upstream_repo_access() {
if [ "${COMMAND_EXIT_CODE}" -eq "0" ]; then
write_out "g" "PASSED" # no \n because of cleanup output
else
write_out "r" "Test 1 FAILED - repo does not exist OR you do not have permission to clone from it\n"
write_out "r" "FAILED - repo does not exist OR you do not have permission to clone from it\n"
SKIP_CLEANUP=true
fi
}