- Before to start make sure to have the latest updates from repositories
- Strongly recomended to create a separated branch for it.
- Download as-archetypes and as-quickstarts repositories
- Run diff -ur oldfolder newfolder > patch.diff and patch -pN < patch.diff. Where N is the number of path prefixes starting from -p0.
diff -ur /path/to/as-archetypes/jboss-html5-mobile-archetype/src/main/resources/archetype-resources/src /path/to/as-quickstarts/kitchensink-html5-mobile/src > patch.diff cd /path/to/as-archetypes/ patch -p4 < ../patch.diff
Be careful before commit changes, because the archetypes make use of some variables, like this:
set( $symbol_pound = '#' ) set( $symbol_dollar = '$' ) set( $symbol_escape = '\' )
Release process for Archetypes
Warning: Announce at aerogear-dev that the release process will begin
Regenerate the blanks by running
which will update the blank archetypes from the main sources
Commit any changes to the blanks
Update versions by running
./release-utils.sh -u -o <old snapshot version> -n <release version>
Commit the version update
Stage the release
Communicate with the team
Wait for the feedback from tests
git tag -a <release version> -m "Release <release version"
Reset version numbers to snapshots
./release-utils.sh -u -o <release version> -n <new snapshot version>
Promote the staged repo