-
Notifications
You must be signed in to change notification settings - Fork 473
chore: Improve releases #711
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
{ | ||
"branches": [ | ||
"master" | ||
], | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": ["CHANGELOG.md", "package.json"], | ||
"message": "chore(release): ${nextRelease.version} [skip ci]" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GitHub Actions does not understand There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Never mind. It looks like it was added earlier this year: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
} | ||
] | ||
] | ||
} |
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -74,6 +74,8 @@ | |||||||||
"@react-native-community/cli-platform-android": "^4.10.0", | ||||||||||
"@react-native-community/cli-platform-ios": "^4.10.0", | ||||||||||
"@react-native-community/eslint-config": "^3.0.0", | ||||||||||
"@semantic-release/changelog": "^5.0.1", | ||||||||||
"@semantic-release/git": "9.0.0", | ||||||||||
Comment on lines
+77
to
+78
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above, those require node 14 |
||||||||||
"detox": "17.10.6", | ||||||||||
"eslint": "^7.0.0", | ||||||||||
"expo": "^38.0.10", | ||||||||||
|
@@ -92,7 +94,7 @@ | |||||||||
"react-native-web": "~0.12.0", | ||||||||||
"react-native-windows": "^0.63.41", | ||||||||||
"react-test-renderer": "16.13.1", | ||||||||||
"semantic-release": "^17.2.1" | ||||||||||
"semantic-release": "^17.4.6" | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we bump to 18? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not bump to latest due to node version required (14), while our CI images are at 12 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we bump Node to 14 (in a separate PR)? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that'd require more compatibility checks on CI, so ideally separate PR |
||||||||||
}, | ||||||||||
"jest": { | ||||||||||
"preset": "react-native", | ||||||||||
|
@@ -133,7 +135,12 @@ | |||||||||
"source": "src", | ||||||||||
"output": "lib", | ||||||||||
"targets": [ | ||||||||||
["commonjs", { "copyFlow": true }], | ||||||||||
[ | ||||||||||
"commonjs", | ||||||||||
{ | ||||||||||
"copyFlow": true | ||||||||||
} | ||||||||||
], | ||||||||||
"module" | ||||||||||
] | ||||||||||
} | ||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2278,6 +2278,16 @@ | |
dependencies: | ||
applicationinsights "^1.8.8" | ||
|
||
"@semantic-release/changelog@^5.0.1": | ||
version "5.0.1" | ||
resolved "https://registry.yarnpkg.com/@semantic-release/changelog/-/changelog-5.0.1.tgz#50a84b63e5d391b7debfe021421589fa2bcdafe4" | ||
integrity sha512-unvqHo5jk4dvAf2nZ3aw4imrlwQ2I50eVVvq9D47Qc3R+keNqepx1vDYwkjF8guFXnOYaYcR28yrZWno1hFbiw== | ||
dependencies: | ||
"@semantic-release/error" "^2.1.0" | ||
aggregate-error "^3.0.0" | ||
fs-extra "^9.0.0" | ||
lodash "^4.17.4" | ||
|
||
"@semantic-release/commit-analyzer@^8.0.0": | ||
version "8.0.1" | ||
resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-8.0.1.tgz#5d2a37cd5a3312da0e3ac05b1ca348bf60b90bca" | ||
|
@@ -2291,11 +2301,25 @@ | |
lodash "^4.17.4" | ||
micromatch "^4.0.2" | ||
|
||
"@semantic-release/error@^2.2.0": | ||
"@semantic-release/error@^2.1.0", "@semantic-release/error@^2.2.0": | ||
version "2.2.0" | ||
resolved "https://registry.yarnpkg.com/@semantic-release/error/-/error-2.2.0.tgz#ee9d5a09c9969eade1ec864776aeda5c5cddbbf0" | ||
integrity sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg== | ||
|
||
"@semantic-release/[email protected]": | ||
version "9.0.0" | ||
resolved "https://registry.yarnpkg.com/@semantic-release/git/-/git-9.0.0.tgz#304c4883c87d095b1faaae93300f1f1e0466e9a5" | ||
integrity sha512-AZ4Zha5NAPAciIJH3ipzw/WU9qLAn8ENaoVAhD6srRPxTpTzuV3NhNh14rcAo8Paj9dO+5u4rTKcpetOBluYVw== | ||
dependencies: | ||
"@semantic-release/error" "^2.1.0" | ||
aggregate-error "^3.0.0" | ||
debug "^4.0.0" | ||
dir-glob "^3.0.0" | ||
execa "^4.0.0" | ||
lodash "^4.17.4" | ||
micromatch "^4.0.0" | ||
p-reduce "^2.0.0" | ||
|
||
"@semantic-release/github@^7.0.0": | ||
version "7.2.3" | ||
resolved "https://registry.yarnpkg.com/@semantic-release/github/-/github-7.2.3.tgz#20a83abd42dca43d97f03553de970eac72856c85" | ||
|
@@ -9634,7 +9658,7 @@ micromatch@^3.1.10, micromatch@^3.1.4: | |
snapdragon "^0.8.1" | ||
to-regex "^3.0.2" | ||
|
||
micromatch@^4.0.2, micromatch@^4.0.4: | ||
micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: | ||
version "4.0.4" | ||
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" | ||
integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg== | ||
|
@@ -12514,10 +12538,10 @@ schema-utils@^3.0.0: | |
ajv "^6.12.5" | ||
ajv-keywords "^3.5.2" | ||
|
||
semantic-release@^17.2.1: | ||
version "17.4.4" | ||
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-17.4.4.tgz#650dd50ecb520a5a2bc6811305bc9d4d5c3128b1" | ||
integrity sha512-fQIA0lw2Sy/9+TcoM/BxyzKCSwdUd8EPRwGoOuBLgxKigPCY6kaKs8TOsgUVy6QrlTYwni2yzbMb5Q2107P9eA== | ||
semantic-release@^17.4.6: | ||
version "17.4.7" | ||
resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-17.4.7.tgz#88e1dce7294cc43acc54c4e0a83f582264567206" | ||
integrity sha512-3Ghu8mKCJgCG3QzE5xphkYWM19lGE3XjFdOXQIKBM2PBpBvgFQ/lXv31oX0+fuN/UjNFO/dqhNs8ATLBhg6zBg== | ||
dependencies: | ||
"@semantic-release/commit-analyzer" "^8.0.0" | ||
"@semantic-release/error" "^2.2.0" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently this was never needed
https://stackoverflow.com/a/52555836/3510245