1
1
mirror of https://github.com/primer/css.git synced 2024-12-02 07:53:06 +03:00

notify post-publish in primer

This commit is contained in:
Shawn Allen 2019-01-07 12:58:58 -08:00
parent 687ba69187
commit 95307c6506

View File

@ -1,6 +1,9 @@
const fs = require('fs') const execa = require('execa')
const {writeFileSync} = require('fs')
const {join} = require('path') const {join} = require('path')
const version = require('../package.json').version const version = require('../package.json').version
const path = join(__dirname, '../../../primer-version.txt') const path = join(__dirname, '../../../primer-version.txt')
fs.writeFileSync(path, version, 'utf8') writeFileSync(path, version, 'utf8')
execa.sync('../../script/notify', ['success'], {stdio: 'inherit'})