chore: exit pre-release mode and format
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"mode": "pre",
|
"mode": "exit",
|
||||||
"tag": "rc",
|
"tag": "rc",
|
||||||
"initialVersions": {
|
"initialVersions": {
|
||||||
"task-master-ai": "0.27.0",
|
"task-master-ai": "0.27.0",
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ const getBuildTimeEnvs = () => {
|
|||||||
|
|
||||||
// Inject package.json version at build time
|
// Inject package.json version at build time
|
||||||
try {
|
try {
|
||||||
const packageJson = JSON.parse(require('fs').readFileSync('package.json', 'utf8'));
|
const packageJson = JSON.parse(
|
||||||
|
require('fs').readFileSync('package.json', 'utf8')
|
||||||
|
);
|
||||||
envs['TM_PUBLIC_VERSION'] = packageJson.version || 'unknown';
|
envs['TM_PUBLIC_VERSION'] = packageJson.version || 'unknown';
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn('Could not read package.json version during build:', error);
|
console.warn('Could not read package.json version during build:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user