Workflow release into master
Workflow release into master
This is one of many possible methods to integrate the release into the master branch. The advantage of this method is that both local and origin branches are updated to the latest state.
- Checkout the Dev-Release branch.
- Pull the changes from the upstream release branch into the local Dev-Release branch.
- Commit the changes in the local Dev-Release branch.
- Push the Dev-Release branch to the origin release branch.
- Checkout the Dev-Master branch.
- Pull the changes from the upstream master branch into the local Dev-Master branch.
- Commit the changes in the local Dev-Master branch.
- Push the Dev-Master branch to the origin master branch.
- Create a new branch named "release-into-master" based on the Dev-Master branch and checkout the new branch.
- Pull the changes from the origin release branch into the new "release-into-master" branch.
- Push the new "release-into-master" branch to the origin release-into-master branch.
- Create a pull request to merge the changes from the Dev-Release branch into the Dev-Master branch.
sequenceDiagram
participant Dev
participant Upstream
participant Origin
Dev ->>+ Upstream: Checkout Dev/Release Branch
Upstream -->>- Dev: Send Changes for Dev/Release Branch
Dev ->>+ Dev: Pull from Upstream/Release into Dev/Release Branch
Dev ->>+ Dev: Commit Changes in Dev/Release Branch
Dev ->>+ Origin: Push Dev/Release Branch to Origin/Release
Dev ->>+ Upstream: Checkout Dev/Master Branch
Upstream -->>- Dev: Send Changes for Dev/Master Branch
Dev ->>+ Dev: Pull from Upstream/Master into Dev/Master Branch
Dev ->>+ Dev: Commit Changes in Dev/Master Branch
Dev ->>+ Origin: Push Dev/Master Branch to Origin/Master
Dev ->>+ Dev: Create Release-into-Master Branch based on Dev/Master Branch
Dev ->>+ Dev: Checkout Dev/Release-into-Master Branch
Dev ->>+ Origin: Pull from Origin/Release into Dev/Release-into-Master Branch
Dev ->>+ Origin: Push Dev/Release-into-Master Branch to Origin/Release-into-Master
Dev ->>+ Origin: Create Pull Request to merge Origin/Release-into-Master Branch into Upstream/Master Branch