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:
parent
687ba69187
commit
95307c6506
@ -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'})
|
||||||
|
Loading…
Reference in New Issue
Block a user