This commit is contained in:
		@@ -21,6 +21,7 @@ steps:
 | 
				
			|||||||
        if [[ "$latestReleaseTag" != "$targetReleaseTag" ]]; then
 | 
					        if [[ "$latestReleaseTag" != "$targetReleaseTag" ]]; then
 | 
				
			||||||
          echo "This pipeline is run because the new release is different from the target tag."
 | 
					          echo "This pipeline is run because the new release is different from the target tag."
 | 
				
			||||||
          echo "Running testing step..."
 | 
					          echo "Running testing step..."
 | 
				
			||||||
 | 
					          exit 1
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
          echo "The release tag is the same as the target tag. Skipping testing step."
 | 
					          echo "The release tag is the same as the target tag. Skipping testing step."
 | 
				
			||||||
          exit 0
 | 
					          exit 0
 | 
				
			||||||
@@ -34,7 +35,4 @@ steps:
 | 
				
			|||||||
  - name: testing
 | 
					  - name: testing
 | 
				
			||||||
    image: alpine
 | 
					    image: alpine
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - echo "test"
 | 
					      - echo "test"
 | 
				
			||||||
    when:
 | 
					 | 
				
			||||||
      status:
 | 
					 | 
				
			||||||
        - changed
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user