mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 06:28:39 +09:00 
			
		
		
		
	Fix tag
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@@ -21,11 +21,11 @@ jobs:
 | 
			
		||||
        # https://github.community/t/how-to-get-just-the-tag-name/16241/4
 | 
			
		||||
        run: echo ::set-output name=name::${GITHUB_REF/refs\/*s\//}
 | 
			
		||||
      - name: Generate the tag name for a branch build
 | 
			
		||||
        if: startsWith(steps.release_name.outputs.name, 'ci-')
 | 
			
		||||
        if: ${{ startsWith(steps.release_name.outputs.name, 'ci-') }}
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "RELEASE_TAG_NAME=${GITHUB_REF/refs\/*s\//}-tag" >> $GITHUB_ENV
 | 
			
		||||
      - name: Generate the tag name for a branch build
 | 
			
		||||
        if: ! startsWith(steps.release_name.outputs.name, 'ci-')
 | 
			
		||||
        if: ${{ !startsWith(steps.release_name.outputs.name, 'ci-') }}
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "RELEASE_TAG_NAME=${GITHUB_REF/refs\/*s\//}" >> $GITHUB_ENV
 | 
			
		||||
      - name: Generate changes file
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user