This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
Creating a release
binwiederhier edited this page Dec 9, 2014
·
13 revisions
This is a page to remind us how to do a release.
- Run all tests on
develop
- Update the CHANGELOG:
- References to issues
- Date of the release
- Then run these commands; the rest should be Travis magic
git checkout develop (!!!!!)
// Update CHANGELOG.md (don't forget the date)
// Update build.gradle (version number)
git pull
git flow release start 0.1.1-alpha
// Do some last minute changes
git flow release finish 0.1.1-alpha
git push --tags
git push
After that:
- Update the releases page (binary upload, changelog info)
- Travis will build
master
ANDdevelop
, so thedevelop
build should be cancelled manually.
git checkout develop
// Update CHANGELOG.md (don't forget the date)
// Update build.gradle (version number)
git pull
git subtree pull --prefix=core coreorigin develop --squash
git flow release start plugin-sftp/v0.1.0-alpha
git flow release finish plugin-sftp/v0.1.0-alpha
Because of the subtree, this creates a tag vplugin-sftp/v0.1.0-alpha
. This needs to be manually corrected:
$ git tag
...
vplugin-sftp/v0.1.0-alpha
git tag -d vplugin-sftp/v0.1.0-alpha
git tag plugin-sftp/v0.1.0-alpha
git push --tags
git push
Full process:
git checkout develop (!!!!!)
vi build.gradle
> bump version
git add -u
git commit -m"Bump version"
git subtree pull --prefix=core coreorigin master --squash (master!!)
gradle clean pluginJar; sy plugin remove sftp; sy plugin install build/libs/*.jar
sydev plugin list
sydev init
git flow release start plugin-ftp/v0.1.8-alpha
git flow release finish plugin-ftp/v0.1.8-alpha
> Syncany FTP Plugin v0.1.8-alpha
git tag -d vplugin-ftp/v0.1.8-alpha
git tag plugin-ftp/v0.1.8-alpha
git push --tags
git push
((Then stop Travis-CI for 'develop'))
git tag -d <releasetag>
git checkout master
git reset --hard HEAD^
git checkout develop
git reset --hard HEAD^
git push --force
git push origin :<releasetag>