mirror of
https://github.com/primer/css.git
synced 2024-11-30 01:04:04 +03:00
fix path to script/notify
This commit is contained in:
parent
95307c6506
commit
2a15788fa9
@ -2,8 +2,11 @@ const execa = require('execa')
|
||||
const {writeFileSync} = require('fs')
|
||||
const {join} = require('path')
|
||||
|
||||
const root = resolve(__dirname, '../../..')
|
||||
const version = require('../package.json').version
|
||||
const path = join(__dirname, '../../../primer-version.txt')
|
||||
|
||||
const path = join(root, 'primer-version.txt')
|
||||
writeFileSync(path, version, 'utf8')
|
||||
|
||||
execa.sync('../../script/notify', ['success'], {stdio: 'inherit'})
|
||||
const cwd = process.cwd()
|
||||
execa.sync(join(root, 'script/notify'), ['success'], {cwd, stdio: 'inherit'})
|
||||
|
Loading…
Reference in New Issue
Block a user