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
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-37Lines changed: 46 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,54 +16,63 @@ _Create a release based workflow that is built on the foundations of the GitHub
16
16
</header>
17
17
18
18
<!--
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!
22
24
-->
23
25
24
-
## Welcome
26
+
## Step 1: Create a beta release
25
27
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:_
27
29
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
29
31
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.
Some projects may deploy more often, with continuous deployment. There might be a "release" every time there's a new commit on main.
45
37
46
-
### How to start this course
38
+
But, some projects rely on a different structure for versions and releases.
47
39
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
To set the stage for later, let's also add a bug that we'll fix as part of the releaseworkflow 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.
60
66
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.
0 commit comments