Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Apache

...

OFBiz

...

Release

...

Plan

...

(aka

...

How

...

to

...

do

...

an

...

OFBiz

...

Release)

...

NOTE

...

DEJ20060909:

...

This

...

document

...

is

...

still

...

being

...

created

...

and

...

is

...

not

...

a

...

final

...

draft,

...

but

...

should

...

contain

...

most

...

of

...

the

...

operations

...

needed

...

to

...

create

...

a

...

release.

...

We

...

may

...

want

...

to

...

add

...

more

...

sections

...

on

...

preparing

...

for

...

a

...

release

...

such

...

as

...

more

...

on

...

testing,

...

and

...

stuff

...

on

...

the

...

NOTICE,

...

LICENSE,

...

KEYS,

...

etc

...

files.

...

Steps

...

for

...

testing

...

a

...

revision

...

or

...

branch

...

before

...

a

...

release:

...

  1. For

...

  1. revision:

...

  1. svn

...

  1. export

...

  1. -r

...

  1. $

...

  1. {revision-number

...

  1. }

...

  1. http://svn.apache.org/repos/asf/incubator/ofbiz/trunk

...

  1. ofbiz

...

  1. For

...

  1. branch:

...

  1. svn

...

  1. export

...

  1. http://svn.apache.org/repos/asf/incubator/ofbiz/branches/$\Image Added{branch-name}

...

  1. ofbiz

...

  1. cd

...

  1. ofbiz

...

  1. ant

...

  1. run-tests

...

  1. Wiki Markup
    Check results... (search for \[JUNIT\])

...

  1. cd

...

  1. ..

...

  1. rm

...

  1. -Rf

...

  1. ofbiz/

...

Steps

...

for

...

a

...

test

...

snapshot

...

type

...

"release":

...

  1. Example

...

  1. file-base-name:

...

  1. apache-ofbiz-incubating-4.0.0.RC1

...

  1. svn

...

  1. export

...

  1. http://svn.apache.org/repos/asf/incubator/ofbiz/trunk

...

  1. ofbiz

...

  1. cd

...

  1. ofbiz

...

  1. echo

...

  1. $

...

  1. {revision-number

...

  1. }

...

  1. >

...

  1. REVISION

...

  1. ant

...

  1. run-install

...

  1. cd

...

  1. ..

...

  1. zip

...

  1. -r

...

  1. $

...

  1. {file-base-name

...

  1. }.zip

...

  1. ofbiz/

...

  1. tar

...

  1. -czvf

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz

...

  1. ofbiz/

...

  1. *

...

  1. gpg

...

  1. --output

...

  1. $

...

  1. {file-base-name

...

  1. }.zip.asc

...

  1. --detach-sig

...

  1. --armor

...

  1. $

...

  1. {file-base-name

...

  1. }.zip

...

  1. gpg

...

  1. --output

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz.asc

...

  1. --detach-sig

...

  1. --armor

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz

...

  1. openssl

...

  1. md5

...

  1. $

...

  1. {file-base-name

...

  1. }.zip

...

  1. >

...

  1. $

...

  1. {file-base-name

...

  1. }.zip.md5

...

  1. openssl

...

  1. md5

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz

...

  1. >

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz.md5

...

Steps

...

for

...

creating

...

a

...

branch

...

in

...

preparation

...

for

...

a

...

real

...

release:

...

  1. Exaple

...

  1. branch-name:

...

  1. release4.0

...

  1. (for

...

  1. a

...

  1. series

...

  1. of

...

  1. releases

...

  1. using

...

  1. 4.0.0,

...

  1. 4.0.1,

...

  1. 4.0.2,

...

  1. etc)

...

  1. svn

...

  1. co

...

  1. https://svn.apache.org/repos/asf/incubator/ofbiz

...

  1. ofbizroot

...

  1. cd

...

  1. ofbizroot

...

  1. svn

...

  1. copy

...

  1. trunk

...

  1. branches/$

...

  1. {branch-name

...

  1. }

...

  1. svn

...

  1. commit

...

  1. -m

...

  1. "Created

...

  1. new

...

  1. branch:

...

  1. $

...

  1. {branch-name

...

  1. }"

...

Steps

...

for

...

applying

...

a

...

fix

...

from

...

the

...

trunk

...

to

...

a

...

branch

...

as

...

part

...

of

...

maintenance:

...

  1. svn

...

  1. co

...

  1. https://svn.apache.org/repos/asf/incubator/ofbiz/branches/$\Image Added{branch-name

...

  1. }

...

  1. ofbiz

...

  1. cd

...

  1. ofbiz

...

  1. svn

...

  1. merge

...

  1. -r

...

  1. $

...

  1. {revision-1

...

  1. }:$

...

  1. {revison

...

  1. }

...

  1. http://svn.apache.org/repos/asf/incubator/ofbiz/trunk

...

  1. svn

...

  1. commit

...

  1. -m

...

  1. "Applied

...

  1. fix

...

  1. from

...

  1. trunk

...

  1. for

...

  1. revision:

...

  1. $

...

  1. {revision

...

  1. }"

...

Steps

...

for

...

creating

...

a

...

release

...

from

...

a

...

branch:

...

  1. Example

...

  1. file-base-name:

...

  1. apache-ofbiz-4.0.0,

...

  1. or

...

  1. for

...

  1. framework

...

  1. only:

...

  1. apache-ofbiz-framework-4.0.0

...

  1. Example

...

  1. branch-name:

...

  1. release4.0.0

...

  1. svn

...

  1. export

...

  1. http://svn.apache.org/repos/asf/incubator/ofbiz/branches/$\Image Added{branch-name}

...

  1. ofbiz

...

  1. cd

...

  1. ofbiz

...

  1. For

...

  1. framework

...

  1. only

...

  1. release:

...

  1. rm

...

  1. -Rf

...

  1. applications/

...

  1. ant

...

  1. run-install

...

  1. cd

...

  1. ..

...

  1. zip

...

  1. -r

...

  1. $

...

  1. {file-base-name

...

  1. }.zip

...

  1. ofbiz/

...

  1. tar

...

  1. -czvf

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz

...

  1. ofbiz/

...

  1. *

...

  1. gpg

...

  1. --output

...

  1. $

...

  1. {file-base-name

...

  1. }.zip.asc

...

  1. --detach-sig

...

  1. --armor

...

  1. $

...

  1. {file-base-name

...

  1. }.zip

...

  1. gpg

...

  1. --output

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz.asc

...

  1. --detach-sig

...

  1. --armor

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz

...

  1. openssl

...

  1. md5

...

  1. $

...

  1. {file-base-name

...

  1. }.zip

...

  1. >

...

  1. $

...

  1. {file-base-name

...

  1. }.zip.md5

...

  1. openssl

...

  1. md5

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz

...

  1. >

...

  1. $

...

  1. {file-base-name

...

  1. }.tgz.md5