File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <property name =" groupId" value =" com.junichi11.netbeans.modules" />
1414 <property name =" artifactId" value =" netbeans-wordpress-plugin" />
1515 <!-- also change the version of pom.xml -->
16- <property name =" version" value =" 1.1 .0" />
16+ <property name =" version" value =" 1.2 .0" />
1717 <!-- defined maven snapshots and staging repository id and url -->
1818 <property name =" ossrh-snapshots-repository-url"
1919 value =" https://oss.sonatype.org/content/repositories/snapshots/" />
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-wordpress.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" />
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ Manifest-Version: 1.0
22OpenIDE-Module: org.netbeans.modules.php.wordpress
33OpenIDE-Module-Layer: org/netbeans/modules/php/wordpress/resources/layer.xml
44OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/php/wordpress/Bundle.properties
5- OpenIDE-Module-Specification-Version: 1.1 .0
5+ OpenIDE-Module-Specification-Version: 1.2 .0
66OpenIDE-Module-Install: org/netbeans/modules/php/wordpress/WordPressModuleInstall.class
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ build.xml.script.CRC32=f6cbff90
33build.xml.stylesheet.CRC32 =15ca8a54@2.74.1
44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6- nbproject/build-impl.xml.data.CRC32 =1a9c0250
6+ nbproject/build-impl.xml.data.CRC32 =b7da3fdb
77nbproject/build-impl.xml.script.CRC32 =bfa38a5f
8- nbproject/build-impl.xml.stylesheet.CRC32 =49aa68b0@2.74.1
8+ nbproject/build-impl.xml.stylesheet.CRC32 =49aa68b0@2.82
Original file line number Diff line number Diff line change 205205 <build-prerequisite />
206206 <compile-dependency />
207207 <run-dependency >
208+ <release-version >2</release-version >
208209 <implementation-version />
209210 </run-dependency >
210211 </dependency >
Original file line number Diff line number Diff line change 44 <groupId >com.junichi11.netbeans.modules</groupId >
55 <artifactId >netbeans-wordpress-plugin</artifactId >
66 <!-- change the version of build.xml -->
7- <version >1.1 .0</version >
7+ <version >1.2 .0</version >
88 <packaging >nbm</packaging >
99 <name >PHP WordPress Blog/CMS</name >
1010 <url >https://github.com/junichi11/netbeans-wordpress-plugin</url >
You can’t perform that action at this time.
0 commit comments