fix: update release note generation to use the second latest tag
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/github-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/github-release.yml
									
									
									
									
										vendored
									
									
								
							@@ -77,7 +77,7 @@ jobs:
 | 
			
		||||
      id: release_notes
 | 
			
		||||
      run: |
 | 
			
		||||
        # Get the latest tag
 | 
			
		||||
        LATEST_TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | head -n 1)
 | 
			
		||||
        LATEST_TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | sed -n '2p')
 | 
			
		||||
        
 | 
			
		||||
        if [ -n "$LATEST_TAG" ]; then
 | 
			
		||||
          echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user