pull/3016/head
David Sheldrick 2024-02-29 18:09:30 +00:00
rodzic a25d58e9b6
commit df205706e6
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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)

Wyświetl plik

@ -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