Invert regexp for staging/release.
This commit is contained in:
parent
60375a9b45
commit
10263a5f46
4
pom.xml
4
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue