GithubHelp home page GithubHelp logo

opush's Introduction

Archived

HOW TO BUILD A VERSION

Assume that we are building the 3.0.0~beta2 version.

1) CREATE JIRA A TICKET

In this doc we assume that the created jira is OP-1234

2) TAG POM FILES

Be on the latest master version

git fetch origin
git branch -D master
git checkout origin/master -b master

Tag pom files

find . -type f -name pom.xml -exec sed -i 's!3.0.0-SNAPSHOT!3.0.0-beta2!' {} \;

In the main pom.xml search for:

  • The xml tag "opush.packaging.version" and remove the tailing ~git$
    You should get <opush.packaging.version>${opush.release}~beta2</opush.packaging.version>

  • The xml tag "opush.version" and change the -SNAPSHOT to -beta2 You should get <opush.version>${opush.release}-beta2</opush.version>

    git commit -a -m "OP-1234 Bump version to 3.0.0-beta2"

3) CREATE GIT TAG

git tag 3.0.0-beta2

4) REVERT THE TAG OF POM FILES

git revert --no-edit HEAD

5) SET THE NEXT VERSION TO WORK ON

In opush.packaging.version, replace beta2 by beta3

git commit -a -m "OP-1234 Bump version to 3.0.0~beta3~git"

6) PUSH CHANGES

git push origin master --tags

7) LAUNCH THE JENKINS BUILD

go to https://ci-obm.linagora.com/jenkins/view/1-package-release/job/opush-release/build?delay=0sec

TAG = 3.0.0~beta2
TARGET_REPO_NAME = testing

opush's People

Contributors

3rwww1 avatar aduprat avatar btngo avatar jkornobis avatar kewisch avatar matthieu-at-linagora avatar max-k avatar mbaechler avatar michaelbailly avatar shivam9593 avatar thomas-hilaire avatar

Stargazers

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

Watchers

 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.