Giter Site home page Giter Site logo

p2-bridge's Introduction

P2 Bridge

Releasing

As this plugin is "special", it requires totally different release procedure than the one we use for "normal" projects.

Prerequisites

  • Maven 3.0.4+
  • Java6+

Prepare release (on release machine)

  • SSH to release machine
  • Clone and ensure on master branch
git clone [email protected]:sonatype/p2-bridge.git
git checkout master
  • Set version on all projects to the release version (ie. was 1.0.4-SNAPSHOT, set it to 1.0.4)
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.18.0:set-version -DnewVersion=1.0.4
  • Check that there is no trace left of previous version (e.g. 1.0.3 and 1.0.3-SNAPSHOT and 1.0.4-SNAPSHOT)
  • Verify that MANIFEST.MF imported/exported packages are correct (export should have proper versions set)
  • Verify that no SNAPSHOT dependencies are used (search for SNAPSHOT)
  • Verify that bundle version has no ".qualifier" (search for qualifier), if any found, remove them.
  • Build it
mvn clean install
  • Commit changes
git commit -a -m "Bumped version number to 1.0.4"
  • Tag release
git tag -a 1.0.4 -m "Release 1.0.4"

Perform release (on release machine)

  • Release it
mvn clean deploy -Prelease
  • Bump version to next snapshot
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.18.0:set-version -DnewVersion=1.0.5-SNAPSHOT
  • Check that there is no trace left of released version (e.g. 1.0.4)
  • Verify that imported/exported packages are correct (those will be still 1.0.4, release version)
  • Build it
mvn clean install
  • Commit changes
git commit -a -m "Bumped version number to 1.0.5-SNAPSHOT"
  • Push back all (don't forget tags) to origin
git push
git push --tags
  • Have a beer

p2-bridge's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.