bash
This commit is contained in:
		@@ -22,6 +22,7 @@ pipeline:
 | 
				
			|||||||
    image: debian:11-slim
 | 
					    image: debian:11-slim
 | 
				
			||||||
    pull: true
 | 
					    pull: true
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
 | 
					      - #!/bin/bash
 | 
				
			||||||
      - if [[ $TAG =~ ^v1\...\..rc.$ ]]
 | 
					      - if [[ $TAG =~ ^v1\...\..rc.$ ]]
 | 
				
			||||||
      - then
 | 
					      - then
 | 
				
			||||||
      -   echo "Tag ${TAG} appears to be a release candidate, terminating build." && exit 1
 | 
					      -   echo "Tag ${TAG} appears to be a release candidate, terminating build." && exit 1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user