Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit b699f1b

Browse files
authored
feat: shipjs integration (#954)
Refs: #949
1 parent af95bb6 commit b699f1b

File tree

7 files changed

+5649
-284
lines changed

7 files changed

+5649
-284
lines changed

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit "$1"

CHANGELOG.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
# Changelog
2-
All notable changes to this project will be documented in this file.
3-
4-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6-
7-
## [Unreleased]
8-
91
## [3.0.1] - 2022-03-24
102
### Added
113
- Log error to console in development (#865)

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ please [file an issue on GitHub](https://github.com/honeybadger-io/honeybadger-v
4141
## Changelog
4242

4343
See https://github.com/honeybadger-io/honeybadger-vue/blob/master/CHANGELOG.md
44+
Changelog is automatically generated with [our release automation process](#release-automation).
4445

4546
## Contributing
4647

@@ -95,6 +96,17 @@ To perform a release:
9596

9697
3. Verify the published version in Versions tab from [here](https://www.npmjs.com/package/@honeybadger-io/vue).
9798

99+
### Release Automation
100+
101+
We use [Ship.js](https://github.com/algolia/shipjs) to automate releasing.
102+
103+
Ship.js creates a PR once per week when unreleased changes are present. You can also trigger a release PR by saying "@shipjs prepare" in any issue or pull request comment on GitHub.
104+
105+
#### Troubleshooting a failed Ship.js release
106+
107+
If a ship.js release fails, you need to revert the release commit and delete the release branch (e.g `releases/v1.1.0`)
108+
Then, you can debug the issue by simulating the release process locally (`npm run release -- --dry-run --yes --no-browse`).
109+
98110
### License
99111

100112
*honeybadger-vue* is MIT licensed. See the [LICENSE](https://raw.github.com/honeybadger-io/honeybadger-vue/master/LICENSE) file in this repository for details.

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

0 commit comments

Comments
 (0)