File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 2222 <!-- there server id in the Maven settings.xml -->
2323 <property name =" ossrh-server-id" value =" ossrh" />
2424
25- <target name =" deploy" depends =" nbm" description =" deploy release version to Maven repository" >
25+ <target name =" update-version-number" >
26+ <replaceregexp file =" pom.xml"
27+ match =" (^ <version>).+(</version>)"
28+ replace =" \1${ version } \2"
29+ byline =" true" />
30+ <replaceregexp file =" manifest.mf"
31+ match =" (OpenIDE-Module-Specification-Version:[ ]*).+"
32+ replace =" \1${ version } "
33+ byline =" true" />
34+ </target >
35+
36+ <target name =" deploy" depends =" update-version-number,nbm" description =" deploy release version to Maven repository" >
2637 <move file =" ${ build } /org-netbeans-modules-php-cake3.nbm" toFile =" ${ build } /${ artifactId } -${ version } .nbm" />
2738 <artifact : mvn >
2839 <arg value =" org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
You can’t perform that action at this time.
0 commit comments