mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
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 changed files with 2 additions and 2 deletions
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"
|
||||
exit 0
|
||||
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)
|
||||
echo "Marking SDK $SDK_ID as released"
|
||||
curl -X 'POST' \
|
||||
|
|
2
fbt
2
fbt
|
@ -25,7 +25,7 @@ if [ -z "$FBT_VERBOSE" ]; then
|
|||
fi
|
||||
|
||||
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\"";
|
||||
exit 1;
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue