mirror of
				https://code.forgejo.org/actions/forgejo-release.git
				synced 2025-11-04 06:41:57 +02:00 
			
		
		
		
	Add test ensuring no breakage because of shell expansion
This commit is contained in:
		
							parent
							
								
									6ab7d41741
								
							
						
					
					
						commit
						9c0ac967a9
					
				
					 2 changed files with 18 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -36,7 +36,13 @@ jobs:
 | 
			
		|||
          tag: v2.0
 | 
			
		||||
          token: FORGEJO_TOKEN
 | 
			
		||||
          release-dir: upload-dir-v2
 | 
			
		||||
          release-notes: "RELEASE NOTES V2"
 | 
			
		||||
          release-notes: |-
 | 
			
		||||
            No shell expansion should on these notes:
 | 
			
		||||
            - $(some_command)
 | 
			
		||||
            - `other_commend`
 | 
			
		||||
            - "double quoted" and 'single quoted' strings
 | 
			
		||||
            - \backslash escape
 | 
			
		||||
            - !exclamation_mark
 | 
			
		||||
          verbose: true
 | 
			
		||||
      - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
 | 
			
		||||
        id: release-download
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue