diff --git a/modules/primer/scripts/postpublish.js b/modules/primer/scripts/postpublish.js index 092ab475..496ec819 100644 --- a/modules/primer/scripts/postpublish.js +++ b/modules/primer/scripts/postpublish.js @@ -1,6 +1,9 @@ -const fs = require('fs') +const execa = require('execa') +const {writeFileSync} = require('fs') const {join} = require('path') const version = require('../package.json').version const path = join(__dirname, '../../../primer-version.txt') -fs.writeFileSync(path, version, 'utf8') +writeFileSync(path, version, 'utf8') + +execa.sync('../../script/notify', ['success'], {stdio: 'inherit'})