SciNote Release Merging
This document explains how upstream releases are merged into USEPA's copy of SciNote.
- Make sure you have the latest EPA codebase with a
git pull - Add the upstream repo if necessary:
git remote add upstream git@github.com:scinote-eln/scinote-web.git - Fetch the upstream:
git fetch upstreamor fetch tags, not sure, will reviewgit fetch --tags --all --prune - Create a branch that points at the most recent release from upstream:
git checkout tags/1.31.0.1 -b upstream_release_1.31.0.1. Make sure you reference the correct (most recent) version tag. - Checkout the EPA master branch again:
git fetch originthengit checkout origin/master - Create a merge branch:
git checkout -b usepa_merge_1.31.0.1 - Start the merge:
git merge upstream_release_1.31.0.1 - Use VS Code to fix merge conflicts.
- Push the merged branch to remote.
- Test locally.
- Test on staging.
- Merge into master.
- Publish to production.