mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Apply version subst multiple times per line
This commit is contained in:
		@@ -54,7 +54,7 @@ done
 | 
				
			|||||||
for doc in "${mdfiles[@]}"; do
 | 
					for doc in "${mdfiles[@]}"; do
 | 
				
			||||||
  $SED -ri \
 | 
					  $SED -ri \
 | 
				
			||||||
      -e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \
 | 
					      -e '/<!-- BEGIN STRIP_FOR_RELEASE -->/,/<!-- END STRIP_FOR_RELEASE -->/d' \
 | 
				
			||||||
      -e "s|(releases.k8s.io)/[^/]+|\1/${NEW_VERSION}|" \
 | 
					      -e "s|(releases.k8s.io)/[^/]+|\1/${NEW_VERSION}|g" \
 | 
				
			||||||
      "${doc}"
 | 
					      "${doc}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Replace /HEAD in html preview links with /NEW_VERSION.
 | 
					  # Replace /HEAD in html preview links with /NEW_VERSION.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user