mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
repo metadata for netlify
This commit is contained in:
parent
d87e8dacb4
commit
ad18926556
@ -12,9 +12,11 @@ process.stdout.write(
|
||||
JSON.stringify(
|
||||
{
|
||||
version: require('../package.json').version,
|
||||
branch: process.env.VERCEL_GITHUB_COMMIT_REF || 'dev',
|
||||
branch:
|
||||
process.env.VERCEL_GITHUB_COMMIT_REF || process.env.BRANCH || 'dev',
|
||||
commit:
|
||||
process.env.VERCEL_GITHUB_COMMIT_SHA ||
|
||||
process.env.COMMIT_REF ||
|
||||
execSync(`git rev-parse HEAD`).toString().trim()
|
||||
},
|
||||
null,
|
||||
|
Loading…
Reference in New Issue
Block a user