diff --git a/modules/primer/scripts/postpublish.js b/modules/primer/scripts/postpublish.js index b8e9b7af..092ab475 100644 --- a/modules/primer/scripts/postpublish.js +++ b/modules/primer/scripts/postpublish.js @@ -2,5 +2,5 @@ const fs = require('fs') const {join} = require('path') const version = require('../package.json').version -const path = join(__dirname, '../../../VERSION') +const path = join(__dirname, '../../../primer-version.txt') fs.writeFileSync(path, version, 'utf8') diff --git a/script/deploy-docs b/script/deploy-docs index b71bb706..1237f75a 100755 --- a/script/deploy-docs +++ b/script/deploy-docs @@ -4,8 +4,8 @@ set -e if [ -z "$NOW_TOKEN" ]; then echo "NOW_TOKEN is not set; skipping docs deployment" else - if [[ -e VERSION ]]; then - version=$(cat VERSION) + if [[ -e primer-version.txt ]]; then + version=$(cat primer-version.txt) else version=$(jq -r .version modules/primer/package.json) fi