Skip to content

Commit

Permalink
fix: semantic release fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeCoder committed Nov 11, 2020
1 parent 2e5d3c5 commit 5074c0f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
["@semantic-release/npm", {
"tarballDir": "release"
}],
["@semantic-release/github", {
"assets": "release/*.tgz"
}],
["@semantic-release/git", {
"assets": ["CHANGELOG.md", "package.json"]
}],
Expand Down
9 changes: 3 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# [7.0.0-alpha.2](https://github.com/ZeeCoder/use-resize-observer/compare/v7.0.0-alpha.1...v7.0.0-alpha.2) (2020-11-11)


* Added Semantic Release ([54a83ce](https://github.com/ZeeCoder/use-resize-observer/commit/54a83cede6fcb8dbfa9e0f9a0ea2f1f4557b606f))

- Added Semantic Release ([54a83ce](https://github.com/ZeeCoder/use-resize-observer/commit/54a83cede6fcb8dbfa9e0f9a0ea2f1f4557b606f))

### BREAKING CHANGES

* - The returned ref is now a RefCallback, not a ref object
- The returned ref is now a RefCallback, not a ref object

- The returned ref will always be the same RefCallback.
Previously when a custom ref object was passed, it was returned as well from
the hook as "ref".
- Compared to 6.2.0-alpha.1 There's no `callbackRef` return value
anymore.

# CHANGELOG
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.1.1",
"@semantic-release/npm": "^7.0.6",
"@semantic-release/release-notes-generator": "^9.0.1",
"@size-limit/preset-small-lib": "^4.4.5",
"@testing-library/react": "^11.0.4",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@
micromatch "^4.0.0"
p-reduce "^2.0.0"

"@semantic-release/github@^7.0.0":
"@semantic-release/github@^7.0.0", "@semantic-release/github@^7.1.1":
version "7.1.1"
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.1.1.tgz#e998aa9a9cd770838d9f27c64f060c2b686b9d95"
integrity sha512-w8CLCvGVKNe2FPOYQ68OFxFVNNha7YRzptnwTZYdjXYtgTDKw0XVfnMSd9NlJeQPYGfQmIhIVPNBU/cA6zUY0A==
Expand All @@ -1192,7 +1192,7 @@
p-retry "^4.0.0"
url-join "^4.0.0"

"@semantic-release/npm@^7.0.0":
"@semantic-release/npm@^7.0.0", "@semantic-release/npm@^7.0.6":
version "7.0.6"
resolved "https://registry.yarnpkg.com/@semantic-release/npm/-/npm-7.0.6.tgz#1301bd57d246eae048d7104a735467bb0829f3d8"
integrity sha512-F4judxdeLe8f7+vDva1TkqNc5Tb2tcltZYW0tLtvP2Xt7CD/gGiz7UxAWEOPsXBvIqAP+uTidvGLPl9U3/uRoQ==
Expand Down

0 comments on commit 5074c0f

Please sign in to comment.