https://github.com/hohonuuli/skills-release-based-workflow
My clone repository
https://github.com/hohonuuli/skills-release-based-workflow
Last synced: 2 months ago
JSON representation
My clone repository
- Host: GitHub
- URL: https://github.com/hohonuuli/skills-release-based-workflow
- Owner: hohonuuli
- License: mit
- Created: 2024-04-26T15:22:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-26T15:58:09.000Z (about 1 year ago)
- Last Synced: 2025-02-04T21:45:51.589Z (4 months ago)
- Language: JavaScript
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Create a release based workflow
_Create a release based workflow that is built on the foundations of the GitHub flow._
## Step 6: Commit a hotfix to the release
_Almost there :heart:_
Notice that I didn't delete the branch? That's intentional.
Sometimes mistakes can happen with releases, and we'll want to be able to correct them on the same branch.
Now that your release is finalized, we have a confession to make. Somewhere in our recent update, I made a mistake and introduced a bug. Instead of changing the text colors to green, we changed the whole game background.
_Tip: Sometimes GitHub Pages takes a few minutes to update. Your page might not immediately show the recent updates you've made._

"Hotfixes", or a quick fix to address a bug in software, are a normal part of development. Oftentimes you'll see application updates whose only description is "bug fixes".
When bugs come up after you release a version, you'll need to address them. We've already created a `hotfix-v1.0.1` and `fix-game-background` branches for you to start.
We'll submit a hotfix by creating and merging the pull request.
### :keyboard: Activity: Create and merge the hotfix pull request
1. Open a pull request with `hotfix-v1.0.1` as the `base` branch, and `fix-game-background` as the `compare` branch.
1. Fill in the pull request template to describe your changes. You can set the pull request title to "Hotfix for broken game style". You can include a detailed pull request body, an example is below:
```
## Description:
- Fixed bug, set game background back to black
```
1. Review the changes and click **Create pull request**.
1. We want to merge this into our hotfix branch now so click **Merge pull request**.Now we want these changes merged into `main` as well so let's create and merge a pull request with our hotfix to `main`.
### :keyboard: Activity: Create the release pull request
1. Open a pull request with `main` as the `base` branch, and `hotfix-v1.0.1` as the `compare` branch.
1. Ensure the title of your pull request is "Hotfix v1.0.1".
1. Include a detailed pull request body, an example is below:
```
## Description:
- Fixed bug introduced in last production release - set game background back to black
```
1. Review the changes and click **Create pull request**.
1. Click **Merge pull request**.
1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.---
Get help: [Post in our discussion board](https://github.com/orgs/skills/discussions/categories/release-based-workflow) • [Review the GitHub status page](https://www.githubstatus.com/)
© 2023 GitHub • [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) • [MIT License](https://gh.io/mit)