File tree 3 files changed +41
-0
lines changed
3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ const { execSync } = require ( 'node:child_process' )
2
+
3
+ const getSignedOffBy = ( ) => {
4
+ const gitUserName = execSync ( 'git config user.name' ) . toString ( 'utf-8' ) . trim ( )
5
+ const gitEmail = execSync ( 'git config user.email' ) . toString ( 'utf-8' ) . trim ( )
6
+
7
+ return `Signed-off-by: ${ gitUserName } <${ gitEmail } >`
8
+ }
9
+
10
+ const getAddMessage = async ( changeset ) => {
11
+ return `docs(changeset): ${ changeset . summary } \n\n${ getSignedOffBy ( ) } \n`
12
+ }
13
+
14
+ const getVersionMessage = async ( ) => {
15
+ return `chore(release): new version\n\n${ getSignedOffBy ( ) } \n`
16
+ }
17
+
18
+ module . exports = {
19
+ getAddMessage,
20
+ getVersionMessage,
21
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" :
" https://unpkg.com/@changesets/[email protected] /schema.json" ,
3
+ "changelog" : " @changesets/cli/changelog" ,
4
+ "commit" : " ./commit" ,
5
+ "privatePackages" : false ,
6
+ "fixed" : [[" @hyperledger/*" ]],
7
+ "access" : " public" ,
8
+ "baseBranch" : " main" ,
9
+ "updateInternalDependencies" : " patch" ,
10
+ "snapshot" : {
11
+ "useCalculatedVersion" : true
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ ---
2
+ " @hyperledger/anoncreds-nodejs " : patch
3
+ " @hyperledger/anoncreds-react-native " : patch
4
+ " @hyperledger/anoncreds-shared " : patch
5
+ ---
6
+
7
+ New release under new repository
You can’t perform that action at this time.
0 commit comments