Skip to content

Commit efa7339

Browse files
committed
chore: update Makefile and release-items for 5.0 release
1 parent d82c6f3 commit efa7339

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DOCS_ = $(shell find lib/ -name '*.js')
33
DOCS = $(DOCS_:.js=.json)
44
DOCFILE = docs/source/_docs
55
STABLE_BRANCH = master
6-
LEGACY_BRANCH = 3.8.x
6+
LEGACY_BRANCH = 4.x
77

88
test:
99
@MONGOOSE_DISABLE_STABILITY_WARNING=1 ./node_modules/.bin/mocha $(T) --async-only test/*.test.js

release-items.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## mongoose release procedure
22

33
1. tests must pass
4-
2. update package.json version
5-
3. update History.md using `git changelog` or similar. list the related ticket(s) #<TICKET_NUMBER> as well as a link to the github user who fixed it if applicable.
6-
4. git commit -m 'release x.x.x'
4+
2. update `package.json` and `package-lock.json` version
5+
3. update History.md using `git changelog` or similar. Add #<TICKET_NUMBER> as well as a link to the github user who fixed it if applicable.
6+
4. git commit -a -m 'release x.x.x'
77
5. git tag x.x.x
88
6. git push origin BRANCH --tags && npm publish
99
7. update mongoosejs.com (see "updating the website" below)
@@ -14,16 +14,16 @@
1414

1515
## updating the website
1616

17-
For 4.x
17+
For 5.x
1818

1919
0. Change to the master branch
2020
1. execute `make docs` (when this process completes you'll be on the gh-pages branch)
21-
2. `git commit -a -m 'chore: website 4.x.x'`
21+
2. `git commit -a -m 'chore: website 5.x.x'`
2222
3. `git push origin gh-pages`
2323

24-
For 3.8.x:
24+
For 4.x
2525

26-
0. Change to the 3.8.x branch
26+
0. Change to the 4.x branch
2727
1. execute `make docs_legacy` (when this process completes you'll be on the gh-pages branch)
28-
2. `git commit -a -m 'website; regen <x.x.x>'`
28+
2. `git commit -a -m 'chore: website 4.x.x'`
2929
3. `git push origin gh-pages`

0 commit comments

Comments
 (0)