import type { PluginSpec } from 'semantic-release' ; import type { GitPluginOpts } from '../type' ; param options const git = ( options = { } ) : PluginSpec => { return [ '@semantic-release/git' , { assets : typeof options . gitAssets === 'boolean' ? false : [ 'CHANGELOG.md' , 'package.json' , ] . concat ( options . gitAssets ) . filter ( ( a ) => a ) , message : options . message ? options . message : ':bookmark: chore(release): ${nextRelease.gitTag} [skip ci] \n\n${nextRelease.notes}' , } , ] ; } ; export default git ;