Skip to content

Update some dependencies, and switch to release-it #93

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

Merged
merged 1 commit into from
May 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
# Release

The following steps should navigate you through the release process to ensure as few issues as possible.
This project uses release-it to release new versions.

## Steps

### Commit the changelog, bump version, and publish to NPM
### Commit the changelog, bump version, create a release on Github, and publish to NPM

1. run `./bin/changelog` and add output to `CHANGELOG.md`
2. edit changelog output to be as user-friendly as possible (drop [INTERNAL] changes etc.)
3. `ember release`
4. `npm publish`

### Create a github release

1. under `Releases` on GitHub choose `Draft New Release`
2. enter the new version number created above as the tag, prefixed with v e.g. (v0.1.12)
3. for release title choose a great name, no pressure.
4. in the description paste the upgrade instructions from the previous release, followed by the new CHANGELOG entry
5. publish the release
1. run `yarn release [patch|minor|major]`
2. review the release created on Github and edit if needed
85 changes: 0 additions & 85 deletions bin/changelog

This file was deleted.

44 changes: 28 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"test": "tests"
},
"scripts": {
"release": "release-it",
"test": "node tests/runner.js && ./node_modules/.bin/eslint index.js lib/* tests/**/*.js"
},
"repository": "https://github.com/ember-cli-deploy/ember-cli-deploy-redis",
Expand All @@ -15,32 +16,43 @@
},
"author": "Aaron Chambers and the ember-cli-deploy team",
"license": "MIT",
"dependencies": {
"chalk": "^4.0.0",
"core-object": "^3.1.5",
"ember-cli-deploy-plugin": "^0.2.9",
"ioredis": "^3.2.2",
"redis": "^2.6.3",
"rsvp": "^4.8.5"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"auto-changelog": "^2.0.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"ember-cli": "^3.18.0",
"ember-cli-release": "1.0.0-beta.2",
"eslint": "^3.18.0",
"eslint": "^7.0.0",
"github": "^6.1.0",
"glob": "^7.1.1",
"ioredis-mock": "^3.14.0",
"mocha": "^3.2.0",
"multiline": "^1.0.2",
"sinon": "^6.1.5"
"glob": "^7.1.6",
"mocha": "^7.1.2",
"release-it": "*",
"sinon": "^9.0.2"
},
"keywords": [
"ember-addon",
"ember-cli-deploy-plugin"
],
"dependencies": {
"chalk": "^1.1.3",
"core-object": "^2.0.6",
"ember-cli-deploy-plugin": "^0.2.9",
"ioredis": "^3.2.2",
"redis": "^2.6.3",
"rsvp": "^3.0.18"
},
"ember-addon": {
"configPath": "tests/dummy/config"
},
"release-it": {
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"after:bump": "npx auto-changelog -p"
},
"github": {
"release": true
}
}
}
Loading