Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust deploy scripts to archive old releases in a separate branch, move existing releases out of master #2426

Merged
merged 11 commits into from
Jan 28, 2022
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@ tmp/
.sass-cache
docs/_site/
docs/js/
docs/releases/
docs/_releases/
docs/assets/js/
CHANGELOG.md
docs/changelog.md
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## 12.0.2

_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2022-01-27._

## 12.0.1

- [`3f598221`](https://github.com/sinonjs/sinon/commit/3f598221045904681f2b3b3ba1df617ed5e230e3)
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ The release process is mostly automated, here is a brief overview of the steps
- Updates `AUTHORS`
- Updates `package.json` with new version
- Creates a new git tag
- Copies new release documentation into place in `docs/_releases/`, using the new release id
2. `npm publish` publishes the new release to the npm registry
3. `git push origin --follow-tags` pushes the changes to GitHub
4. Archive the new release in the `releases` branch under the new release id

Each step is described in detail below.

Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-
url: 'https://sinonjs.org'
github_username: sinonjs
sinon:
current_release: v12.0.1
current_release: v12.0.2
markdown: kramdown
kramdown:
input: GFM
Expand Down
39 changes: 0 additions & 39 deletions docs/_releases/latest.md

This file was deleted.

190 changes: 0 additions & 190 deletions docs/_releases/latest/assertions.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/_releases/latest/examples/.eslintrc.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/_releases/latest/examples/.gitignore

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions docs/_releases/latest/examples/fakes-10-firstArg.test.js

This file was deleted.

21 changes: 0 additions & 21 deletions docs/_releases/latest/examples/fakes-11-lastArg.test.js

This file was deleted.

This file was deleted.

This file was deleted.

Loading