Skip to content

Commit 97c3236

Browse files
authored
Remove superseded deprecation scripts (#55451)
1 parent 0af4954 commit 97c3236

20 files changed

+12
-1860
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ jobs:
5757
- events
5858
- fixtures
5959
- frame
60-
- ghes-releases
6160
- github-apps
6261
- graphql
6362
- landings

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"all-documents": "tsx src/content-render/scripts/all-documents/cli.ts",
2020
"analyze-text": "tsx src/search/scripts/analyze-text.ts",
2121
"analyze-comment": "tsx src/events/scripts/analyze-comment-cli.ts",
22-
"archive-version": "tsx --max-old-space-size=16384 src/ghes-releases/scripts/archive-version.ts",
2322
"build": "next build",
2423
"check-content-type": "tsx src/workflows/check-content-type.ts",
2524
"check-github-github-links": "tsx src/links/scripts/check-github-github-links.ts",
@@ -76,7 +75,6 @@
7675
"ready-for-docs-review": "tsx src/workflows/ready-for-docs-review.ts",
7776
"release-banner": "tsx src/ghes-releases/scripts/release-banner.js",
7877
"reusables": "tsx src/content-render/scripts/reusables-cli.ts",
79-
"remove-version-markup": "tsx src/ghes-releases/scripts/remove-version-markup.js",
8078
"rendered-content-link-checker": "tsx src/links/scripts/rendered-content-link-checker.ts",
8179
"rendered-content-link-checker-cli": "tsx src/links/scripts/rendered-content-link-checker-cli.ts",
8280
"rest-dev": "tsx src/rest/scripts/update-files.js",

src/ghes-releases/lib/release-templates/release-steps-1.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ To enable a new version of GHES on GitHub Docs, update the site's supported vers
5454

5555
- [ ] For `supported`, prepend the new version. For example, if the array contains 3.9, 3.8, 3.7, and 3.6, add 3.10:
5656

57-
```js
58-
export const supported = ['3.10', '3.9', '3.8', '3.7', '3.6']
59-
```
57+
```js
58+
export const supported = ["3.10", "3.9", "3.8", "3.7", "3.6"];
59+
```
6060

6161
- [ ] For `releaseCandidate`, change the variable definition from `null` to the release version. For example, if the release version is 3.10:
6262

63-
```js
64-
export const releaseCandidate = '3.10'
65-
```
63+
```js
64+
export const releaseCandidate = "3.10";
65+
```
6666

6767
- [ ] Add and commit the changes.
6868

@@ -71,7 +71,7 @@ To enable a new version of GHES on GitHub Docs, update the site's supported vers
7171
- [ ] Run the following script.
7272

7373
```shell
74-
src/ghes-releases/scripts/sync-automated-pipeline-data.js
74+
npm run deprecate-ghes -- pipelines
7575
```
7676

7777
- [ ] Add and commit the changes.
@@ -101,6 +101,7 @@ Our link checker validates links the site. If links are broken immediately after
101101
If you aren't familiar with the content with the broken link, consult the DRI for the content's focus area. See the [README](https://github.com/github/docs-content/blob/main/focus-areas/README.md) in `github/docs-content`.
102102

103103
For broken links due to in-progress work elsewhere in the docs, you can comment out problematic versioning temporarily by:
104+
104105
- using {% raw %}`{% comment %}`{% endraw %} tags in Liquid or
105106
- prepending `#` in YAML front matter.
106107

@@ -118,9 +119,9 @@ For content from the OpenAPI schema, note the affected content with broken links
118119

119120
1. Go to the [`index-general-search.yml` workflow](https://github.com/github/docs-internal/actions/workflows/index-general-search.yml)
120121
1. Click on the **Run workflow** drop down and set the following parameters:
121-
- `Branch:` set to the name of the publication branch
122-
- `Version` set to the version you're publishing (e.g., `ghes-3.12` if you're publishing GHES 3.12)
123-
- `Languages` left as default (blank, all languages. If time is a concern, can also set to just `en` and wait for the workflow to automatically include the other languages in later runs)
122+
- `Branch:` set to the name of the publication branch
123+
- `Version` set to the version you're publishing (e.g., `ghes-3.12` if you're publishing GHES 3.12)
124+
- `Languages` left as default (blank, all languages. If time is a concern, can also set to just `en` and wait for the workflow to automatically include the other languages in later runs)
124125
1. Click **Run workflow** and wait for the workflow to finish running, which can take up to 30 minutes.
125126

126127
_Note_: After performing these steps, search indices will be automatically updated when the workflow runs on `main`, once every 4 hours. However, it will not do so until you first complete the steps above which will manually create a search index for the new release.
@@ -135,7 +136,7 @@ After your publication PR's are passing, complete the following maintenance **da
135136
136137
1. Check out `main`, then pull the latest changes.
137138
138-
1. Check out your publication branch, <code>ghes-VERSION-rc</code>, then merge changes from `main`.
139+
1. Check out your publication branch, <code>ghes-VERSION-rc</code>, then merge changes from `main`.
139140
140141
1. Push the changes.
141142

src/ghes-releases/scripts/get-liquid-conditionals.js

Lines changed: 0 additions & 151 deletions
This file was deleted.

src/ghes-releases/scripts/get-version-blocks.js

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/ghes-releases/scripts/remove-deprecated-frontmatter.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)