github: fixed grep arg for RC builds (#3093)
* github: fixed grep arg for RC builds * scripts: fbt: checking for .git existence, not for it being a dir Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
a73a83f04d
commit
b80dfbe0c5
2
.github/actions/submit_sdk/action.yml
vendored
2
.github/actions/submit_sdk/action.yml
vendored
@ -58,7 +58,7 @@ runs:
|
|||||||
echo "API version is already released"
|
echo "API version is already released"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if ! echo "${{ inputs.firmware-version }}" | grep -q "-rc" ; then
|
if ! echo "${{ inputs.firmware-version }}" | grep -q -- "-rc" ; then
|
||||||
SDK_ID=$(jq -r ._id found_sdk.json)
|
SDK_ID=$(jq -r ._id found_sdk.json)
|
||||||
echo "Marking SDK $SDK_ID as released"
|
echo "Marking SDK $SDK_ID as released"
|
||||||
curl -X 'POST' \
|
curl -X 'POST' \
|
||||||
|
|||||||
2
fbt
2
fbt
@ -25,7 +25,7 @@ if [ -z "$FBT_VERBOSE" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$FBT_NO_SYNC" ]; then
|
if [ -z "$FBT_NO_SYNC" ]; then
|
||||||
if [ ! -d "$SCRIPT_PATH/.git" ]; then
|
if [ ! -e "$SCRIPT_PATH/.git" ]; then
|
||||||
echo "\".git\" directory not found, please clone repo via \"git clone\"";
|
echo "\".git\" directory not found, please clone repo via \"git clone\"";
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user