allow changes
This commit is contained in:
parent
a25d58e9b6
commit
df205706e6
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ export async function writeStringFile(filePath: string, contents: string) {
|
|||
}
|
||||
|
||||
export async function writeFile(filePath: string, contents: Buffer) {
|
||||
if (process.env.CI) {
|
||||
if (process.env.CI && !process.env.ALLOW_REFRESH_ASSETS_CHANGES) {
|
||||
let existingContents: Buffer | null = null
|
||||
try {
|
||||
existingContents = await readFile(filePath)
|
||||
|
|
|
@ -57,7 +57,7 @@ export async function setAllVersions(version: string) {
|
|||
)
|
||||
}
|
||||
|
||||
await exec('yarn', ['refresh-assets', '--force'])
|
||||
await exec('yarn', ['refresh-assets', '--force'], { env: { ALLOW_REFRESH_ASSETS_CHANGES: '1' } })
|
||||
|
||||
const lernaJson = JSON.parse(readFileSync('lerna.json', 'utf8'))
|
||||
lernaJson.version = version
|
||||
|
|
Loading…
Reference in a new issue