...
No Format |
---|
cd /var/www/html/maven2/org/sakaiproject sudo cp -R kernel kernel-[current version] |
Remove old 1.0.X SNAPSHOTS
\
No Format |
---|
\hende157:~/Documents/whyteBoy/Development/svn/scripts/sakai_release arwhyte$ bash deletesakiartifact.bash 1.0RC2-SNAPSHOT /tmp/maven2/org/sakaiproject/kernel
Removing 1.0RC2-SNAPSHOT folders and content recursively from /tmp/maven2/org/sakaiproject/kernel
hende157:~/Documents/whyteBoy/Development/svn/scripts/sakai_release arwhyte$ bash deletesakaiartifact.bash 1.0.1-SNAPSHOT /tmp/maven2/org/sakaiproject/kernel
Removing 1.0.1-SNAPSHOT folders and content recursively from /tmp/maven2/org/sakaiproject/kernel
hende157:~/Documents/whyteBoy/Development/svn/scripts/sakai_release arwhyte$ bash deletesakaiartifact.bash 1.0.2-SNAPSHOT /tmp/maven2/org/sakaiproject/kernel
Removing 1.0.2-SNAPSHOT folders and content recursively from /tmp/maven2/org/sakaiproject/kernel
hende157:~/Documents/whyteBoy/Development/svn/scripts/sakai_release arwhyte$ bash deletesakaiartifact.bash 1.0.3-SNAPSHOT /tmp/maven2/org/sakaiproject/kernel
Removing 1.0.3-SNAPSHOT folders and content recursively from /tmp/maven2/org/sakaiproject/kernel
|
Checkout the kernel project
...
Set 1.0.5 version to released; add 1.0.5 6 (tentative).
Jira Release Mgmt project
Update home page and Kernel page.
TODO
Maven does not remove the <version> references to old SNAPSHOTS I've removed from the repo from the maven-metadata.xml that is included in each folder. Write a script to whack these so that Maven is forced to recreate them correctly.
No Format |
---|
<metadata> <groupId>org.sakaiproject</groupId> <artifactId>kernel</artifactId> <version>1.0.2</version> ? <versioning> <release>1.0.5</release> ? <versions> <version>1.0RC2-SNAPSHOT</version> <version>1.0</version> <version>1.1-SNAPSHOT</version> <version>1.0.1-SNAPSHOT</version> <version>1.0.2-SNAPSHOT</version> <version>1.0.1</version> <version>1.0.2</version> <version>1.0.3-SNAPSHOT</version> <version>1.0.3</version> <version>1.0.4-SNAPSHOT</version> <version>1.0.4</version> <version>1.0.5-SNAPSHOT</version> <version>1.0.5</version> <version>1.0.6-SNAPSHOT</version> </versions> <lastUpdated>20090410234751</lastUpdated> </versioning> </metadata> |
References
Maven Release Plugin
Maven mini-guide
...