2018-09-19 01:25:58 +03:00
|
|
|
# Checklist for crating knex @next releases
|
2018-09-19 01:15:38 +03:00
|
|
|
|
|
|
|
1. Go through all commits since the last release and add them to CHANGELOG.md under unreleased changes section.
|
|
|
|
2. Commit changes to CHANGELOG
|
|
|
|
3. Check that master compiles and tests are running fine (check also that CI tests are passing)
|
|
|
|
|
2021-01-16 19:23:29 +04:00
|
|
|
```sh
|
2018-09-19 01:25:58 +03:00
|
|
|
npm run build
|
2019-01-31 05:41:42 +02:00
|
|
|
|
|
|
|
# run bunch of tests, but skipping coverage which doesn't really work locally at least
|
|
|
|
npm plaintest
|
|
|
|
npm bin_test
|
|
|
|
npm oracledb:test
|
|
|
|
npm mssql:init
|
|
|
|
npm mssql:test
|
|
|
|
npm mssql:destroy
|
2018-09-19 01:25:58 +03:00
|
|
|
```
|
2018-09-19 01:15:38 +03:00
|
|
|
|
|
|
|
4. Update package.json version to be e.g. 0.16.0-next1 or 0.16.0-next2 and commit yo master
|
2023-07-12 21:42:57 +01:00
|
|
|
5. Publish it under @next tag
|
2018-09-19 01:15:38 +03:00
|
|
|
|
2021-01-16 19:23:29 +04:00
|
|
|
```sh
|
2018-09-19 01:25:58 +03:00
|
|
|
npm publish --tag next
|
|
|
|
```
|