We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7841249 commit 1ce8167Copy full SHA for 1ce8167
2 files changed
packages/react-native-detour/package.json
@@ -107,6 +107,9 @@
107
]
108
},
109
"release-it": {
110
+ "hooks": {
111
+ "after:bump": "echo \"export const version = '${version}';\nexport const SDK_HEADER_VALUE = \\`react-native/\\${version}\\`;\" > src/version.ts"
112
+ },
113
"git": {
114
"commitMessage": "chore: release ${version}",
115
"tagName": "v${version}"
packages/react-native-detour/src/version.ts
@@ -1,3 +1,2 @@
1
-import { version } from "../package.json";
2
-
+export const version = "2.1.0"; // This line will is updated automatically by releasing script
3
export const SDK_HEADER_VALUE = `react-native/${version}`;
0 commit comments