WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 04075e4

Browse files
Update to 1 in STEP and README.md
1 parent 4a460c3 commit 04075e4

File tree

2 files changed

+47
-38
lines changed

2 files changed

+47
-38
lines changed

.github/steps/-step.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0
1+
1

README.md

Lines changed: 46 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,54 +16,63 @@ _Create a release based workflow that is built on the foundations of the GitHub
1616
</header>
1717

1818
<!--
19-
<<< Author notes: Course start >>>
20-
Include start button, a note about Actions minutes,
21-
and tell the learner why they should take the course.
19+
<<< Author notes: Step 1 >>>
20+
Choose 3-5 steps for your course.
21+
The first step is always the hardest, so pick something easy!
22+
Link to docs.github.com for further explanations.
23+
Encourage users to open new tabs for steps!
2224
-->
2325

24-
## Welcome
26+
## Step 1: Create a beta release
2527

26-
Create a release based workflow that is built on the foundations of the [GitHub flow](https://guides.github.com/introduction/flow/). When your team uses a release-based workflow, GitHub makes it easy to collaborate with deployable iterations of your project that you can package and make available for a wider audience to download and use.
28+
_Welcome to "Release-based workflow" :sparkle:_
2729

28-
GitHub releases allow your team to package and provide software to your users based on a specific point in the history of your project.
30+
### The GitHub flow
2931

30-
- **Who is this for**: Developers, DevOps Engineers, IT Operations, managers, and teams.
31-
- **What you'll learn**: How to follow a release-based workflow.
32-
- **What you'll build**: You will create tags, releases, and release notes.
33-
- **Prerequisites**: If you need to learn about branches, commits, and pull requests, take [Introduction to GitHub](https://github.com/skills/introduction-to-github) first.
34-
- **How long**: This course takes less than 1 hour to complete.
32+
The [GitHub flow](https://guides.github.com/introduction/flow/) is a lightweight, branch-based workflow for projects with regular deployments.
3533

36-
In this course, you will:
34+
![github-flow](https://user-images.githubusercontent.com/6351798/48032310-63842400-e114-11e8-8db0-06dc0504dcb5.png)
3735

38-
1. Create a beta release
39-
2. Add a feature to a release
40-
3. Open a release pull request
41-
4. Add release notes and merge
42-
5. Finalize a release
43-
6. Commit a hotfix
44-
7. Create a hotfix release
36+
Some projects may deploy more often, with continuous deployment. There might be a "release" every time there's a new commit on main.
4537

46-
### How to start this course
38+
But, some projects rely on a different structure for versions and releases.
4739

48-
<!-- For start course, run in JavaScript:
49-
'https://github.com/new?' + new URLSearchParams({
50-
template_owner: 'skills',
51-
template_name: 'release-based-workflow',
52-
owner: '@me',
53-
name: 'skills-release-based-workflow',
54-
description: 'My clone repository',
55-
visibility: 'public',
56-
}).toString()
57-
-->
40+
### Versions
41+
42+
Versions are different iterations of updated software like operating systems, apps, or dependencies. Common examples are "Windows 8.1" to "Windows 10", or "macOS High Sierra" to "macOS Mojave".
43+
44+
Developers update code and then run tests on the project for bugs. During that time, the developers might set up certain securities to protect from new code or bugs. Then, the tested code is ready for production. Teams version the code and release it for installation by end users.
45+
46+
### :keyboard: Activity: Create a release for the current codebase
47+
48+
In this step, you will create a release for this repository on GitHub.
49+
50+
GitHub Releases point to a specific commit. Releases can include release notes in Markdown files, and attached binaries.
51+
52+
Before using a release based workflow for a larger release, let's create a tag and a release.
53+
54+
1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab.
55+
1. Go to the **Releases** page for this repository.
56+
- _Tip: To reach this page, click the **Code** tab at the top of your repository. Then, find the navigation bar below the repository description, and click the **Releases** heading link._
57+
1. Click **Create a new release**.
58+
1. In the field for _Tag version_, specify a number. In this case, use **v0.9**. Keep the _Target_ as **main**.
59+
1. Give the release a title, like "First beta release". If you'd like, you could also give the release a short description.
60+
1. Select the checkbox next to **Set as a pre-release**, since it is representing a beta version.
61+
1. Click **Publish release**.
62+
63+
### :keyboard: Activity: Introduce a bug to be fixed later
5864

59-
[![start-course](https://user-images.githubusercontent.com/1221423/235727646-4a590299-ffe5-480d-8cd5-8194ea184546.svg)](https://github.com/new?template_owner=skills&template_name=release-based-workflow&owner=%40me&name=skills-release-based-workflow&description=My+clone+repository&visibility=public)
65+
To set the stage for later, let's also add a bug that we'll fix as part of the release workflow in later steps. We've already created a `update-text-colors` branch for you so let's create and merge a pull request with this branch.
6066

61-
1. Right-click **Start course** and open the link in a new tab.
62-
2. In the new tab, most of the prompts will automatically fill in for you.
63-
- For owner, choose your personal account or an organization to host the repository.
64-
- We recommend creating a public repository, as private repositories will [use Actions minutes](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions).
65-
- Scroll down and click the **Create repository** button at the bottom of the form.
66-
3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.
67+
1. Open a **new pull request** with `base: release-v1.0` and `compare: update-text-colors`.
68+
1. Set the pull request title to "Updated game text style". You can include a detailed pull request body, an example is below:
69+
```
70+
## Description:
71+
- Updated game text color to green
72+
```
73+
1. Click **Create pull request**.
74+
1. We'll merge this pull request now. Click **Merge pull request** and delete your branch.
75+
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.
6776

6877
<footer>
6978

0 commit comments

Comments
 (0)