Skip to content

Commit 64d6a7c

Browse files
authored
Merge branch 'main' into lgtm-fixes
2 parents 4e7af0e + 3b41aff commit 64d6a7c

File tree

92 files changed

+6542
-6441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+6542
-6441
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ docs/js/
77
docs/releases/
88
docs/_releases/
99
docs/assets/js/
10+
docs/vendor
1011

1112
# has linting of its own
1213
docs/release-source/release/examples

.github/dependabot.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/stale.yml

+14-17
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
# Number of days of inactivity before an issue becomes stale
2-
daysUntilStale: 60
3-
# Number of days of inactivity before a stale issue is closed
4-
daysUntilClose: 7
5-
# Issues with these labels will never be considered stale
6-
exemptLabels:
7-
- pinned
8-
- security
9-
# Label to use when marking an issue as stale
10-
staleLabel: stale
11-
# Comment to post when marking an issue as stale. Set to `false` to disable
12-
markComment: >
13-
This issue has been automatically marked as stale because it has not had
14-
recent activity. It will be closed if no further activity occurs. Thank you
15-
for your contributions.
16-
# Comment to post when closing a stale issue. Set to `false` to disable
17-
closeComment: false
1+
name: "Close stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Close Stale Issues
11+
- uses: actions/stale@v4.1.1
12+
with:
13+
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days."
14+
stale-pr-message: "This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days."

.github/workflows/main.yml

+21-18
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ on:
88
branches:
99
- "**"
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
prettier:
1316
runs-on: ubuntu-latest
1417
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-node@v2
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-node@v3
1720
with:
1821
node-version: "lts/*"
1922
- name: Cache modules
20-
uses: actions/cache@v2
23+
uses: actions/cache@v3
2124
with:
2225
path: ~/.npm
2326
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -36,12 +39,12 @@ jobs:
3639
lint:
3740
runs-on: ubuntu-latest
3841
steps:
39-
- uses: actions/checkout@v2
40-
- uses: actions/setup-node@v2
42+
- uses: actions/checkout@v3
43+
- uses: actions/setup-node@v3
4144
with:
4245
node-version: "lts/*"
4346
- name: Cache modules
44-
uses: actions/cache@v2
47+
uses: actions/cache@v3
4548
with:
4649
path: ~/.npm
4750
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -59,12 +62,12 @@ jobs:
5962
unused:
6063
runs-on: ubuntu-latest
6164
steps:
62-
- uses: actions/checkout@v2
63-
- uses: actions/setup-node@v2
65+
- uses: actions/checkout@v3
66+
- uses: actions/setup-node@v3
6467
with:
6568
node-version: "lts/*"
6669
- name: Cache modules
67-
uses: actions/cache@v2
70+
uses: actions/cache@v3
6871
with:
6972
path: ~/.npm
7073
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -82,12 +85,12 @@ jobs:
8285
browser-test:
8386
runs-on: ubuntu-latest
8487
steps:
85-
- uses: actions/checkout@v2
86-
- uses: actions/setup-node@v2
88+
- uses: actions/checkout@v3
89+
- uses: actions/setup-node@v3
8790
with:
8891
node-version: "lts/*"
8992
- name: Cache npm
90-
uses: actions/cache@v2
93+
uses: actions/cache@v3
9194
with:
9295
path: ~/.npm
9396
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -115,12 +118,12 @@ jobs:
115118
if: ${{ github.ref == 'refs/heads/main' }}
116119
runs-on: ubuntu-latest
117120
steps:
118-
- uses: actions/checkout@v2
119-
- uses: actions/setup-node@v2
121+
- uses: actions/checkout@v3
122+
- uses: actions/setup-node@v3
120123
with:
121124
node-version: "lts/*"
122125
- name: Cache npm
123-
uses: actions/cache@v2
126+
uses: actions/cache@v3
124127
with:
125128
path: ~/.npm
126129
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -146,13 +149,13 @@ jobs:
146149
node-version: [14, 16, 18]
147150

148151
steps:
149-
- uses: actions/checkout@v2
152+
- uses: actions/checkout@v3
150153
- name: Use Node.js ${{ matrix.node-version }}
151-
uses: actions/setup-node@v2
154+
uses: actions/setup-node@v3
152155
with:
153156
node-version: ${{ matrix.node-version }}
154157
- name: Cache modules
155-
uses: actions/cache@v2
158+
uses: actions/cache@v3
156159
with:
157160
path: ~/.npm
158161
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ coverage/
66
.idea
77
.sass_cache
88
_site
9+
docs/vendor/

.prettierrc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This project uses Prettier defaults, the config file is present in
22
# order to trigger editor plugins to allow format on save behaviour
33
overrides:
4-
- files: "*.html"
5-
options:
6-
tabWidth: 2
4+
- files: "*.html"
5+
options:
6+
tabWidth: 2

CHANGES.md

+71
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,76 @@
11
# Changes
22

3+
## 15.0.3
4+
5+
- [`b775f1b4`](https://github.com/sinonjs/sinon/commit/b775f1b4174c5a92fa7fa8f70fbf3f4b5466a39e)
6+
Avoid tampering with globals and other modules' exports in tests (#2504) (Carl-Erik Kopseng)
7+
- [`477064b6`](https://github.com/sinonjs/sinon/commit/477064b628c65220ce9d0ac16cd33ab9b1da93da)
8+
fix: make it possible to call through to underlying stub in stub instance (#2503) (Carl-Erik Kopseng)
9+
> closes #2501
10+
- [`6e19746e`](https://github.com/sinonjs/sinon/commit/6e19746e255dfa0fcf78af076e49d5db0eb11c07)
11+
Remove dead Travis and Gitter references (Carl-Erik Kopseng)
12+
13+
_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2023-03-26._
14+
15+
## 15.0.2
16+
17+
- [`19bd99f3`](https://github.com/sinonjs/sinon/commit/19bd99f364ab44f0e2715571e5deab580d9aa7fd)
18+
Use no-op for every function when restoring instances (#2499) (Carl-Erik Kopseng)
19+
- [`8663ffa0`](https://github.com/sinonjs/sinon/commit/8663ffa056d3c58e82fa203801d58d3fce3c14a7)
20+
Upgrade deps (#2498) (Carl-Erik Kopseng)
21+
> Browserify, supports-color, husky had to be held back.
22+
- [`e01275bb`](https://github.com/sinonjs/sinon/commit/e01275bb10d868a064d0cb27a6ae11ffa3d91ac2)
23+
Un-pin @sinonjs/fake-timers (#2495) (Jordan Hawker)
24+
> The commit upgrading from v9 to v10 appears to have accidentally dropped the caret from the version range
25+
- [`6cbde9b0`](https://github.com/sinonjs/sinon/commit/6cbde9b08259efd98b2c52b81ca3b5e84dcf97b1)
26+
fix throws().callsFake() precedence (#2497) (Eduardo Diaz)
27+
> This makes sure an unconditional `callsFake()` invoked on the same stub that was previously setup to throw will overwrite the previous behavior. This aligns it with the other behaviors.
28+
- [`45be60f3`](https://github.com/sinonjs/sinon/commit/45be60f3c6afc350eacbceed77539f437a9bbbce)
29+
Replace probot/stale with official stale action (Morgan Roderick)
30+
31+
_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2023-03-12._
32+
33+
## 15.0.1
34+
35+
- [`aa493da4`](https://github.com/sinonjs/sinon/commit/aa493da47d788025c0d512696651072973f301ec)
36+
Upgrade to fake-timers v10.0.2 (Carl-Erik Kopseng)
37+
> Contains several fixes
38+
- [`b3ee0aa5`](https://github.com/sinonjs/sinon/commit/b3ee0aa5c84e7c0f5203591e1507bd1015208925)
39+
Use Node version 18 in Runkit examples (Carl-Erik Kopseng)
40+
41+
_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2022-12-15._
42+
43+
## 15.0.0
44+
45+
- [`b75fbfa9`](https://github.com/sinonjs/sinon/commit/b75fbfa9e57ba9b9c1b639b68646b1d054e0a7e3)
46+
Fix 2448: remove custom formatter (Morgan Roderick)
47+
> Remove option to pass a custom formatter.
48+
>
49+
> The sub libraries of Sinon has long moved on to use `util.inspect` from
50+
> Node. By using that in Sinon itself, we align all the libraries.
51+
52+
_Released by Morgan Roderick on 2022-11-28._
53+
54+
## 14.0.2
55+
56+
- [`4d70f6e0`](https://github.com/sinonjs/sinon/commit/4d70f6e0965b82e387cd632fbe54ed58a8fcf601)
57+
Upgrade nise to latest (Morgan Roderick)
58+
- [`96a0d756`](https://github.com/sinonjs/sinon/commit/96a0d756b553c38154f442785c34c6092d1ac572)
59+
Update @sinonjs/samsam to latest (Morgan Roderick)
60+
- [`babb4736`](https://github.com/sinonjs/sinon/commit/babb4736d7f0080e25dce34fc8ce72879e86792e)
61+
Prefer @sinonjs/commons@2 (Morgan Roderick)
62+
> That makes ES2017 support explicit
63+
64+
_Released by Morgan Roderick on 2022-11-07._
65+
66+
## 14.0.1
67+
68+
- [`6c4753ef`](https://github.com/sinonjs/sinon/commit/6c4753ef243880f5cdf1ea9c88b569780f9dc013)
69+
Fixed CSS selectors in `_base.scss` and changed blockquote default size to 16px. (Jose Lupianez)
70+
- A bunch of dependency updates
71+
72+
_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2022-10-03._
73+
374
## 14.0.0
475

576
- [`c2bbd826`](https://github.com/sinonjs/sinon/commit/c2bbd82641444eb5b32822489ae40f185afbbf00)

Gemfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ GEM
212212
jekyll-seo-tag (~> 2.1)
213213
minitest (5.14.3)
214214
multipart-post (2.1.1)
215-
nokogiri (1.13.4)
215+
nokogiri (1.13.10)
216216
mini_portile2 (~> 2.8.0)
217217
racc (~> 1.4)
218218
octokit (4.20.0)
@@ -221,7 +221,7 @@ GEM
221221
pathutil (0.16.2)
222222
forwardable-extended (~> 2.6)
223223
public_suffix (3.1.1)
224-
racc (1.6.0)
224+
racc (1.6.1)
225225
rb-fsevent (0.10.4)
226226
rb-inotify (0.10.1)
227227
ffi (~> 1.0)
@@ -247,7 +247,7 @@ GEM
247247
thread_safe (0.3.6)
248248
typhoeus (1.4.0)
249249
ethon (>= 0.9.0)
250-
tzinfo (1.2.9)
250+
tzinfo (1.2.10)
251251
thread_safe (~> 0.1)
252252
unf (0.1.4)
253253
unf_ext

README.md

+3-53
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
<p align=center>
1414
<a href="https://www.npmjs.com/package/sinon"><img src="https://img.shields.io/npm/v/sinon.svg?style=flat" alt="npm version"></a>
15-
<a href="https://gitter.im/sinonjs/sinon?utm_source=badge&amp;utm_medium=badge&amp;utm_campaign=pr-badge&amp;utm_content=badge"><img src="https://badges.gitter.im/Join%20Chat.svg" alt="Join the chat at https://gitter.im/sinonjs/sinon"></a>
16-
<a href="http://travis-ci.org/sinonjs/sinon"><img src="https://secure.travis-ci.org/sinonjs/sinon.svg?branch=master" alt="Build status"></a>
1715
<a href="https://saucelabs.com/u/sinonjs"><img src="https://saucelabs.com/buildstatus/sinonjs" alt="Sauce Test Status"/></a>
1816
<a href="https://codecov.io/gh/sinonjs/sinon"><img src="https://codecov.io/gh/sinonjs/sinon/branch/master/graph/badge.svg" alt="Codecov status"></a>
1917
<a href="#backers"><img src="https://opencollective.com/sinon/backers/badge.svg" alt="OpenCollective"></a>
@@ -66,38 +64,9 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how you can contribute to
6664

6765
## Backers
6866

69-
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/sinon#backer)]
70-
71-
<a href="https://opencollective.com/sinon/backer/0/website" target="_blank"><img src="https://opencollective.com/sinon/backer/0/avatar.svg"></a>
72-
<a href="https://opencollective.com/sinon/backer/1/website" target="_blank"><img src="https://opencollective.com/sinon/backer/1/avatar.svg"></a>
73-
<a href="https://opencollective.com/sinon/backer/2/website" target="_blank"><img src="https://opencollective.com/sinon/backer/2/avatar.svg"></a>
74-
<a href="https://opencollective.com/sinon/backer/3/website" target="_blank"><img src="https://opencollective.com/sinon/backer/3/avatar.svg"></a>
75-
<a href="https://opencollective.com/sinon/backer/4/website" target="_blank"><img src="https://opencollective.com/sinon/backer/4/avatar.svg"></a>
76-
<a href="https://opencollective.com/sinon/backer/5/website" target="_blank"><img src="https://opencollective.com/sinon/backer/5/avatar.svg"></a>
77-
<a href="https://opencollective.com/sinon/backer/6/website" target="_blank"><img src="https://opencollective.com/sinon/backer/6/avatar.svg"></a>
78-
<a href="https://opencollective.com/sinon/backer/7/website" target="_blank"><img src="https://opencollective.com/sinon/backer/7/avatar.svg"></a>
79-
<a href="https://opencollective.com/sinon/backer/8/website" target="_blank"><img src="https://opencollective.com/sinon/backer/8/avatar.svg"></a>
80-
<a href="https://opencollective.com/sinon/backer/9/website" target="_blank"><img src="https://opencollective.com/sinon/backer/9/avatar.svg"></a>
81-
<a href="https://opencollective.com/sinon/backer/10/website" target="_blank"><img src="https://opencollective.com/sinon/backer/10/avatar.svg"></a>
82-
<a href="https://opencollective.com/sinon/backer/11/website" target="_blank"><img src="https://opencollective.com/sinon/backer/11/avatar.svg"></a>
83-
<a href="https://opencollective.com/sinon/backer/12/website" target="_blank"><img src="https://opencollective.com/sinon/backer/12/avatar.svg"></a>
84-
<a href="https://opencollective.com/sinon/backer/13/website" target="_blank"><img src="https://opencollective.com/sinon/backer/13/avatar.svg"></a>
85-
<a href="https://opencollective.com/sinon/backer/14/website" target="_blank"><img src="https://opencollective.com/sinon/backer/14/avatar.svg"></a>
86-
<a href="https://opencollective.com/sinon/backer/15/website" target="_blank"><img src="https://opencollective.com/sinon/backer/15/avatar.svg"></a>
87-
<a href="https://opencollective.com/sinon/backer/16/website" target="_blank"><img src="https://opencollective.com/sinon/backer/16/avatar.svg"></a>
88-
<a href="https://opencollective.com/sinon/backer/17/website" target="_blank"><img src="https://opencollective.com/sinon/backer/17/avatar.svg"></a>
89-
<a href="https://opencollective.com/sinon/backer/18/website" target="_blank"><img src="https://opencollective.com/sinon/backer/18/avatar.svg"></a>
90-
<a href="https://opencollective.com/sinon/backer/19/website" target="_blank"><img src="https://opencollective.com/sinon/backer/19/avatar.svg"></a>
91-
<a href="https://opencollective.com/sinon/backer/20/website" target="_blank"><img src="https://opencollective.com/sinon/backer/20/avatar.svg"></a>
92-
<a href="https://opencollective.com/sinon/backer/21/website" target="_blank"><img src="https://opencollective.com/sinon/backer/21/avatar.svg"></a>
93-
<a href="https://opencollective.com/sinon/backer/22/website" target="_blank"><img src="https://opencollective.com/sinon/backer/22/avatar.svg"></a>
94-
<a href="https://opencollective.com/sinon/backer/23/website" target="_blank"><img src="https://opencollective.com/sinon/backer/23/avatar.svg"></a>
95-
<a href="https://opencollective.com/sinon/backer/24/website" target="_blank"><img src="https://opencollective.com/sinon/backer/24/avatar.svg"></a>
96-
<a href="https://opencollective.com/sinon/backer/25/website" target="_blank"><img src="https://opencollective.com/sinon/backer/25/avatar.svg"></a>
97-
<a href="https://opencollective.com/sinon/backer/26/website" target="_blank"><img src="https://opencollective.com/sinon/backer/26/avatar.svg"></a>
98-
<a href="https://opencollective.com/sinon/backer/27/website" target="_blank"><img src="https://opencollective.com/sinon/backer/27/avatar.svg"></a>
99-
<a href="https://opencollective.com/sinon/backer/28/website" target="_blank"><img src="https://opencollective.com/sinon/backer/28/avatar.svg"></a>
100-
<a href="https://opencollective.com/sinon/backer/29/website" target="_blank"><img src="https://opencollective.com/sinon/backer/29/avatar.svg"></a>
67+
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/sinon#backer)]
68+
69+
<a href="https://opencollective.com/sinon#backers" target="_blank"><img src="https://opencollective.com/sinon/backers.svg?width=890"></a>
10170

10271
## Sponsors
10372

@@ -114,25 +83,6 @@ Become a sponsor and get your logo on our README on GitHub with a link to your s
11483
<a href="https://opencollective.com/sinon/sponsor/8/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/8/avatar.svg"></a>
11584
<a href="https://opencollective.com/sinon/sponsor/9/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/9/avatar.svg"></a>
11685
<a href="https://opencollective.com/sinon/sponsor/10/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/10/avatar.svg"></a>
117-
<a href="https://opencollective.com/sinon/sponsor/11/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/11/avatar.svg"></a>
118-
<a href="https://opencollective.com/sinon/sponsor/12/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/12/avatar.svg"></a>
119-
<a href="https://opencollective.com/sinon/sponsor/13/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/13/avatar.svg"></a>
120-
<a href="https://opencollective.com/sinon/sponsor/14/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/14/avatar.svg"></a>
121-
<a href="https://opencollective.com/sinon/sponsor/15/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/15/avatar.svg"></a>
122-
<a href="https://opencollective.com/sinon/sponsor/16/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/16/avatar.svg"></a>
123-
<a href="https://opencollective.com/sinon/sponsor/17/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/17/avatar.svg"></a>
124-
<a href="https://opencollective.com/sinon/sponsor/18/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/18/avatar.svg"></a>
125-
<a href="https://opencollective.com/sinon/sponsor/19/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/19/avatar.svg"></a>
126-
<a href="https://opencollective.com/sinon/sponsor/20/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/20/avatar.svg"></a>
127-
<a href="https://opencollective.com/sinon/sponsor/21/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/21/avatar.svg"></a>
128-
<a href="https://opencollective.com/sinon/sponsor/22/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/22/avatar.svg"></a>
129-
<a href="https://opencollective.com/sinon/sponsor/23/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/23/avatar.svg"></a>
130-
<a href="https://opencollective.com/sinon/sponsor/24/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/24/avatar.svg"></a>
131-
<a href="https://opencollective.com/sinon/sponsor/25/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/25/avatar.svg"></a>
132-
<a href="https://opencollective.com/sinon/sponsor/26/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/26/avatar.svg"></a>
133-
<a href="https://opencollective.com/sinon/sponsor/27/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/27/avatar.svg"></a>
134-
<a href="https://opencollective.com/sinon/sponsor/28/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/28/avatar.svg"></a>
135-
<a href="https://opencollective.com/sinon/sponsor/29/website" target="_blank"><img src="https://opencollective.com/sinon/sponsor/29/avatar.svg"></a>
13686

13787
## Licence
13888

docs/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cd docs
2222
gem install bundler
2323

2424
# install all dependencies
25-
bundle install
25+
bundle install --path vendor/bundle
2626

2727
# build the site
2828
bundle exec jekyll serve

docs/README.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,17 @@ published: false
44

55
# Docs
66

7-
This folder structure contains the markdown files that becomes the Sinon.JS documentation site published to GitHub Pages. Eventually this will replace the current site at https://sinonjs.org.
7+
This folder structure contains the markdown files that is the Sinon.JS documentation site published to GitHub Pages.
88

99
See [CONTRIBUTING.md](CONTRIBUTING.md) for details on contributing documentation to Sinon.JS. This file also lists how to run the site locally.
1010

1111
## Documentation release process
1212

13-
Whenever a new release is created using `npm version`, the tree from `release-source/release/` is copied into its own folder under `releases/` with an appropriate name.
14-
13+
Whenever a new release is created using `npm version`, the tree from `release-source/release/` is copied into a folder under `releases/` with an appropriate name.
1514
Likewise, the `_releases/release.md` file is copied into a file matching the release name.
1615

17-
### Example
18-
19-
Let's say that we're making a new `v2.0.3` release.
16+
Currently, we keep a single folder per major release.
2017

21-
- `release-source/release/` is copied into a new folder `_releases/v2.0.3/`
22-
- `release-source/release.md` is copied into a new file `_releases/v2.0.3.md`
18+
See `scripts/postversion.sh` for details on the exact process, as it changes over time.
2319

2420
The release is packaged, tagged and pushed to GitHub. GitHub Pages will build a new site in a few minutes, and replace the old one.

0 commit comments

Comments
 (0)