tests: only check out mastodon master branch (#377)
This commit is contained in:
parent
08ad25f677
commit
5139ae3a84
|
@ -42,7 +42,7 @@ async function cloneMastodon () {
|
|||
await stat(mastodonDir)
|
||||
} catch (e) {
|
||||
console.log('Cloning mastodon...')
|
||||
await exec(`git clone ${GIT_URL} "${mastodonDir}"`)
|
||||
await exec(`git clone --single-branch --branch master ${GIT_URL} "${mastodonDir}"`)
|
||||
await exec(`git checkout ${GIT_TAG}`, { cwd: mastodonDir })
|
||||
await writeFile(path.join(dir, '../mastodon/.env'), envFile, 'utf8')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue