blob: 7f6e5428043a8637d9abc76f0d37e17ad381a7f7 [file] [log] [blame]
#summary Commands to produce a new release.
This is not a script. It is intended to be performed manually to notice errors and be aware of what is happening.
Make sure you are using JDK 6.
Tag version
cd pre-existing-plexi/
git checkout origin/master # This is the commit we are going to tag
git tag -a v$VERSION -m "Version $VERSION"
git push --tags
cd ~
git clone
cd plexi
git checkout v$VERSION
ant -Dadaptorlib.suffix=-$VERSION dist
Extract out for publication
cd dist
unzip adaptor-$ adaptor-$
Update online documentation
cd ~
git clone
cd plexi.documentation
rm -r *
mkdir javadoc && cd javadoc
unzip ~/plexi/dist/adaptor-$
git add -A
git commit -m "Update for version $VERSION"
git tag -a v$VERSION -m "Version $VERSION"
git push --tags origin master
# Update "External links" to point to new documentation.
# Update main page to point to new release.
Create release branches
# Make sure local code is up-to-date
git checkout master
git pull
# Create branch
git checkout -b $BRANCH
# Push branch for others to see
git push -u origin $BRANCH
#### In other local clones (optional) ####
# Get new branch
git fetch
# Create a local branch that pulls/pushes to origin/$BRANCH
git branch $BRANCH origin/$BRANCH
Create RC of adaptor
# Tag version
# Have adaptor library
# eg: cd ~/plexi/dist
# unzip adaptor-$ adaptor-$VERSION-withlib.jar
# Build adaptor from fresh clone
cd ~
git clone
cd plexi.repo
git checkout v$VERSION
cp ../plexi/dist/adaptor-$VERSION-withlib.jar lib/
ant -Dadaptor.suffix=-$VERSION -Dadaptor.jar=lib/adaptor-$VERSION-withlib.jar dist
# Give to QA
Scratch pad
git checkout v4.0.x
git merge $sha1beginning # for fstfwd
git cherrypick master # commit to add
git cherry v4.0.x # information to cmp checkout to this one
# '+' we have it; target doesn't
# '-' we both have it
git push v4.0.x:4.0.x # refspec example
git checkout -b mybranchname
git merge
git branch -D mybranch
git checkout master^^^^^