All checks were successful
Full Build and Docker Push Workflow / Builder (push) Successful in 1m39s
Gitea Actions Demo / Explore Gitea Actions - 2 (push) Successful in 19s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Reviewed-on: #4
my-app
- RELEASE BRANCH FOR MY_APP
- PATCH (HOTFIX) RELEASES FOR MY_APP
1. RELEASE BRANCH FOR MY_APP
Step 1: Update main/master branch, ensure both local and remote are same, to do so,
git checkout maingit pullgit pull --ff-only(ignore)
Step 2: Create a versioned release branch with pattern: release/v<major.minor.patch> e.g. release/v1.4.0 where 1.4.0 is the version to be released
git checkout -b release/v<major>.<minor>.<patch>
Step 3: Update the app version, commit and tag
- update the app version in:
- frontend/package.json manually
- frontend/package.json by running
yarn installafter 1. above - src/build.gradle manually
- Swagger config manually
- Dockerfile manually env (only during image build & deployment) manually
- add changes
git add . - commit changes
git commit -m "Set version to v<major>.<minor>.<patch>" - push changes
git push --set-upstream origin release/v<major>.<minor>.<patch> - Create and review the release pull request, then MERGE the release branch
git merge --no-ff release/v<major>.<minor>.<patch> -m "Merge release v<major>.<minor>.<patch>". - checkout and update main/master branch
git checkout main/master&git pull origin main/master - Create tag with the version number (format is very important)
git tag v<major>.<minor>.<patch> -m "Release v<major>.<minor>.<patch>" - Push tag
git push origin v<major>.<minor>.<patch> - Create a GitHub Release from the tag - (from UI)
2. PATCH (hotfix) RELEASES FOR MY_APP
Step 1: Update main/master branch, ensure both local and remote are same, to do so,
git checkout maingit pull
Step 2: Create a versioned hotfix branch with pattern: hotfix/v<major.minor.patch> e.g. hotfix/v1.4.1 where 1.4.1 is the hotfix version to be released
git checkout -b hotfix/v<major>.<minor>.<patch>
Step 3: Update the app version, commit and tag
- update the app version in:
- frontend/package.json manually
- frontend/package.json by running
yarn installafter 1. above - src/build.gradle manually
- Swagger config manually
- Dockerfile manually env (only during image build & deployment) manually
- add changes
git add . - commit changes
git commit -m "Set hotfix to v<major>.<minor>.<patch>" - push chnages
git push --set-upstream origin hotfix/v<major>.<minor>.<patch> - Create and review the hotfix pull request, then MERGE the hotfix branch
git merge --no-ff hotfix/v<major>.<minor>.<patch> -m "Merge hotfix v<major>.<minor>.<patch>". - checkout and update main/master branch
git checkout main/master&git pull origin main/master - Create tag with the hotfix version number (format is very important)
git tag v<major>.<minor>.<patch> -m "Hotfix v<major>.<minor>.<patch>" - Push tag
git push origin v<major>.<minor>.<patch> - Create a GitHub Release from the tag - (from UI)
Description
Release v1.0.0
Latest
Languages
Java
30.7%
TypeScript
26%
CSS
24.9%
Dockerfile
11.6%
Shell
3.9%
Other
2.9%