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"
 | 
			
		||||
            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' \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user