Invert regexp for staging/release.

This commit is contained in:
Manuele Simi 2020-01-25 22:20:31 -05:00
parent 60375a9b45
commit 10263a5f46
1 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@
<configuration>
<name>skip.when.is.snapshot.used</name>
<value>${project.version}</value>
<regex>.*-SNAPSHOT$</regex>
<regex>^((?!.*-SNAPSHOT).)*$</regex>
<replacement>true</replacement>
<failIfNoMatch>true</failIfNoMatch>
</configuration>
@ -438,7 +438,7 @@
<configuration>
<name>skip.when.is.snapshot.used</name>
<value>${project.version}</value>
<regex>.*-SNAPSHOT$</regex>
<regex>^((?!.*-SNAPSHOT).)*$</regex>
<replacement>true</replacement>
<failIfNoMatch>true</failIfNoMatch>
</configuration>