File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' create-expo-stack ' : patch
3
+ ---
4
+
5
+ pipe version of create expo stack to git commit message
Original file line number Diff line number Diff line change @@ -85,8 +85,10 @@ export async function printOutput(
85
85
if ( ! options . noGit && ! flags . noGit ) {
86
86
s . start ( `Initializing git...` ) ;
87
87
// initialize git repo and add first commit
88
+ // get create expo stack version
89
+ const cesVersion : string = require ( '../../package.json' ) . version || '2.0.0' ;
88
90
await system . spawn (
89
- `cd ${ projectName } && git init --quiet && git add . && git commit -m "Initial commit" -m "Generated by create-expo-stack 2.0.0. " --quiet` ,
91
+ `cd ${ projectName } && git init --quiet && git add . && git commit -m "Initial commit" -m "Generated by create-expo-stack ${ cesVersion } " --quiet` ,
90
92
{
91
93
shell : true ,
92
94
stdio : 'inherit'
You can’t perform that action at this time.
0 commit comments