V11 Staging to Master Later On

Hello DevOps experts,

I have an instance at present

ERPNext: v10.1.75 (master)

Frappe Framework: v10.1.67 (master)

I will be able switch and migrate to staging branch V11 with the below environment because staging is at higher version.

ERPNext: v11.0.3-beta.32 () (staging)

Frappe Framework: v11.0.3-beta.45 () (staging)

Later at some date let’s say 25th Feb 2019 V11 gets released (hypothetical date !) :slight_smile: .

At that time V11 staging branch will get merged as V11 master branch.

Will it be possible to switch from staging to master branch since at that time both branch would have common version ?

If yes what would be the steps (at broader level) at that time ?

1 Like

Yes, it would be possible.

When its released for production use, simply run:

bench switch-to-branch master frappe erpnext
bench update --upgrade
3 Likes

One more question in this context

CASE A

On github,

ERPNext: v11.0.3-beta.35 (master)
ERPNext: v11.0.3-beta.35 () (staging)

My instance,
ERPNext: v11.0.3-beta.32 () (staging)

Sol:
So first i need to do bench update and then your suggested command
i.e. first bring staging upto date

CASE B
On github,

ERPNext: v11.0.3-beta.35 (master)
ERPNext: v11.0.3-beta.39 () (staging)

Will there be such case, or once master is brought in sync with staging version. Staging branch is no longer updated? If not I am covered.
But if staging keeps on going ahead after merge what to do? I mean
My instance,
ERPNext: v11.0.3-beta.32 () (staging)
Sol: ?

You needn’t worry about either case. It will be handled automatically.
In all probability, Case B wont happen.

3 Likes