Update check.yml
This commit is contained in:
		
							parent
							
								
									904de30ce5
								
							
						
					
					
						commit
						b97bfd9f43
					
				|  | @ -15,7 +15,9 @@ jobs: | ||||||
|           token: ${{ secrets.PAT }} |           token: ${{ secrets.PAT }} | ||||||
|       - name: Get the latest version of Lens |       - name: Get the latest version of Lens | ||||||
|         run: | |         run: | | ||||||
|           git tag | sort -V | tail -1 > version |           git clone https://github.com/lensapp/lens.git | ||||||
|  |           cd lens | ||||||
|  |           git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7 > version | ||||||
|           export LENS_VERSION=$(cat version) |           export LENS_VERSION=$(cat version) | ||||||
|           echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV |           echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV | ||||||
|       - name: Add & Commit |       - name: Add & Commit | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue