Last modified by Thomas Mortagne on 2024/02/05 00:12

<
From version < 113.1 >
edited by Clemens Robbenhaar
on 2019/08/04 22:57
To version < 114.1 >
edited by Clemens Robbenhaar
on 2019/08/21 21:34
>
Change comment: release process updated

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -105,6 +105,8 @@
105 105  
106 106  === Macro "moccacalendar" not found ===
107 107  
108 +{{info}} This issue should no longer happen after upgrading to 2.7.1 or higher.{{/info}}
109 +
108 108  Because the old page defining this macro is deleted only after the new version is installed, this might cause confusion as for a short time two macros with the same name are around. After removing the old version of the macro, the new version might not be active.
109 109  
110 110  There are two workarounds to get rid of this error message:
... ... @@ -198,18 +198,19 @@
198 198  git push
199 199  git status
200 200  # prepare the release
201 -mvn -Pintegration-tests -Darguments="-DskipTests" release:prepare
203 +mvn release:prepare -Pintegration-tests -Darguments="-Pintegration-tests -DskipTests -Dxwiki.enforcer.skip=true" -DskipTests
204 +# now you can test the release with a local XWiki installation where
205 +## extension.repositories=maven-local:maven:file://${sys:user.home}/.m2/repository
206 +# set in the xwiki.properties
202 202  # create a maintenance branch - not needed for minor releases
203 203  git branch stable-X.Y application-mocca-calendar-X.Y
204 204  # perform the actual release
205 -mvn -Darguments="-DskipTests -Dgpg.skip=true" -Pintegration-tests release:perform
206 -# push the changes to github
207 -git push origin master
208 -git push origin stable-X.Y
210 +mvn release:perform -Pintegration-tests -Darguments='-Pintegration-tests -DskipTests -Dgpg.passphrase=<gpg-passphrase-here>'
211 +# push the maintenance branch to github (if created)
212 +git push --set-upstream origin stable-X.Y
209 209  {{/code}}
210 210  
211 -Then push the release through http://nexus.xwiki.org/nexus/#stagingRepositories
212 -Before finishing the release, check the validity of the release by installing the pending release in a fresh XWiki instance for the extension manager, "extended search" > 'org.xwiki.contrib:application-mocca-calendar-ical' + version number.
215 +Before performing the release, check the validity of the release by installing the pending release in a fresh XWiki instance via the extension manager, "extended search" > 'org.xwiki.contrib:application-mocca-calendar-ical' + version number.
213 213  
214 214  ==== Cleanup ====
215 215  
Installed count
... ... @@ -1,1 +1,1 @@
1 -392
1 +373

Get Connected