Skip to content

Commit 8a84bd8

Browse files
committed
fix typo in electron-versioning.md
- backport - stabilization branch - and some typo
1 parent a55fd06 commit 8a84bd8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/tutorial/electron-versioning.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ There are several major changes from our 1.x strategy outlined below. Each chang
3232
2. Introduction of semver-compliant `-beta` tags
3333
3. Introduction of [conventional commit messages](https://conventionalcommits.org/)
3434
4. Clearly defined stabilization branches
35-
5. The `master` branch is versionless; only stability branches contain version information
35+
5. The `master` branch is versionless; only stabilization branches contain version information
3636

3737
We will cover in detail how git branching works, how npm tagging works, what developers should expect to see, and how one can backport changes.
3838

@@ -52,7 +52,7 @@ Below is a table explicitly mapping types of changes to their corresponding cate
5252
* **Patch Version Increments**
5353
* node.js patch version updates
5454
* fix-related chromium patches
55-
* electron bug fixes
55+
* Electron bug fixes
5656

5757
Note that most chromium updates will be considered breaking. Fixes that can be backported will likely be cherry-picked as patches.
5858

@@ -91,7 +91,7 @@ e.g. `2.0.0`.
9191
4. If future bug fixes or security patches need to be made once a release is stable, they are applied and the _patch_ version is incremented accordingly
9292
e.g. `2.0.1`.
9393

94-
For each major and minor bump, you should expect too see something like the following:
94+
For each major and minor bump, you should expect to see something like the following:
9595

9696
```text
9797
2.0.0-beta.1
@@ -106,11 +106,11 @@ An example lifecycle in pictures:
106106

107107
* A new release branch is created that includes the latest set of features. It is published as `2.0.0-beta.1`.
108108
![](../images/versioning-sketch-3.png)
109-
* A bug fix comes into master that can be pack-ported to the release branch. The patch is applied, and a new beta is published as `2.0.0-beta.2`.
109+
* A bug fix comes into master that can be backported to the release branch. The patch is applied, and a new beta is published as `2.0.0-beta.2`.
110110
![](../images/versioning-sketch-4.png)
111111
* The beta is considered _generally stable_ and it is published again as a non-beta under `2.0.0`.
112112
![](../images/versioning-sketch-5.png)
113-
* Later, a zero-day exploit is revealed and a fix is applied to master. We pack-port the fix to the `2-0-x` line and release `2.0.1`.
113+
* Later, a zero-day exploit is revealed and a fix is applied to master. We backport the fix to the `2-0-x` line and release `2.0.1`.
114114
![](../images/versioning-sketch-6.png)
115115

116116
A few examples of how various semver ranges will pick up new releases:
@@ -128,7 +128,7 @@ As a future consideration, we may introduce one or both of the following:
128128
# Feature Flags
129129
Feature flags are a common practice in Chromium, and are well-established in the web-development ecosystem. In the context of Electron, a feature flag or **soft branch** must have the following properties:
130130

131-
* is is enabled/disabled either at runtime, or build-time; we do not support the concept of a request-scoped feature flag
131+
* it is enabled/disabled either at runtime, or build-time; we do not support the concept of a request-scoped feature flag
132132
* it completely segments new and old code paths; refactoring old code to support a new feature _violates_ the feature-flag contract
133133
* feature flags are eventually removed after the soft-branch is merged
134134

0 commit comments

Comments
 (0)