Fix latest version check
This commit is contained in:
		
							parent
							
								
									6bf0a3daab
								
							
						
					
					
						commit
						b2246291c4
					
				|  | @ -15,10 +15,7 @@ jobs: | |||
|           token: ${{ secrets.PAT }} | ||||
|       - name: Get the latest version of Lens | ||||
|         run: | | ||||
|           curl -s https://lens-binaries.s3.amazonaws.com/ide/latest-mac.yml |\ | ||||
|             grep -o "version:.*-latest" | grep -oP "(\d+(:?\.\d+)+)" |\ | ||||
|             head -n 1 > version | ||||
|           export LENS_VERSION=$(cat version) | ||||
|           export LENS_VERSION=$(curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]') | ||||
|           echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV | ||||
|       - name: Add & Commit | ||||
|         uses: EndBug/add-and-commit@v9.0.0 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue