File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,15 @@ jobs:
27
27
- run : ./generation/check_non_release_please_versions.sh
28
28
29
29
# For Release Please pull requests, the artifacts being published must not
30
- # have the duplicate versions in Maven Central
30
+ # have the duplicate versions in Maven Central or "SNAPSHOT" versions.
31
+ # When Release Please switches non-SNAPSHOT versions to SNAPSHOT versions,
32
+ # this check should be skipped. Note that the "autorelease: snapshot" label
33
+ # was added after the pull request is created.
31
34
existing-versions-check :
32
35
runs-on : ubuntu-latest
33
36
if : |
34
37
github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main' &&
35
- (github.event_name != 'pull_request' || !contains (github.event.pull_request.labels.*.name , 'autorelease: snapshot') )
38
+ !endsWith (github.event.pull_request.title , 'SNAPSHOT' )
36
39
steps :
37
40
- run : sudo apt-get update -y
38
41
- run : sudo apt-get install libxml2-utils
You can’t perform that action at this time.
0 commit comments