Skip to content

Commit 5074c0f

Browse files
committed
fix: semantic release fixes
1 parent 2e5d3c5 commit 5074c0f

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.releaserc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
["@semantic-release/changelog", {
66
"changelogFile": "CHANGELOG.md"
77
}],
8+
["@semantic-release/npm", {
9+
"tarballDir": "release"
10+
}],
11+
["@semantic-release/github", {
12+
"assets": "release/*.tgz"
13+
}],
814
["@semantic-release/git", {
915
"assets": ["CHANGELOG.md", "package.json"]
1016
}],

CHANGELOG.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
# [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)
22

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

75
### BREAKING CHANGES
86

9-
* - The returned ref is now a RefCallback, not a ref object
7+
- The returned ref is now a RefCallback, not a ref object
8+
109
- The returned ref will always be the same RefCallback.
1110
Previously when a custom ref object was passed, it was returned as well from
1211
the hook as "ref".
1312
- Compared to 6.2.0-alpha.1 There's no `callbackRef` return value
1413
anymore.
15-
16-
# CHANGELOG

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
"@semantic-release/changelog": "^5.0.1",
5353
"@semantic-release/commit-analyzer": "^8.0.1",
5454
"@semantic-release/git": "^9.0.0",
55+
"@semantic-release/github": "^7.1.1",
56+
"@semantic-release/npm": "^7.0.6",
5557
"@semantic-release/release-notes-generator": "^9.0.1",
5658
"@size-limit/preset-small-lib": "^4.4.5",
5759
"@testing-library/react": "^11.0.4",

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@
11701170
micromatch "^4.0.0"
11711171
p-reduce "^2.0.0"
11721172

1173-
"@semantic-release/github@^7.0.0":
1173+
"@semantic-release/github@^7.0.0", "@semantic-release/github@^7.1.1":
11741174
version "7.1.1"
11751175
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.1.1.tgz#e998aa9a9cd770838d9f27c64f060c2b686b9d95"
11761176
integrity sha512-w8CLCvGVKNe2FPOYQ68OFxFVNNha7YRzptnwTZYdjXYtgTDKw0XVfnMSd9NlJeQPYGfQmIhIVPNBU/cA6zUY0A==
@@ -1192,7 +1192,7 @@
11921192
p-retry "^4.0.0"
11931193
url-join "^4.0.0"
11941194

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

0 commit comments

Comments
 (0)