Pārlūkot izejas kodu

Removes README note from pre-releases

Since pre-releases feed the marketplace content
main
Eric Amodio pirms 2 gadiem
vecāks
revīzija
aa7ccd988d
3 mainītis faili ar 8 papildinājumiem un 5 dzēšanām
  1. +0
    -1
      README.pre.md
  2. +4
    -2
      scripts/applyInsidersPatch.js
  3. +4
    -2
      scripts/applyPreReleasePatch.js

+ 0
- 1
README.pre.md Parādīt failu

@ -1 +0,0 @@
> **This is the pre-release edition of GitLens for early feedback, and testing. It works best with [VS Code Insiders](https://code.visualstudio.com/insiders).**

+ 4
- 2
scripts/applyInsidersPatch.js Parādīt failu

@ -3,8 +3,10 @@ const fs = require('fs');
// Patch README
const insert = fs.readFileSync('./README.insiders.md', { encoding: 'utf8' });
const data = fs.readFileSync('./README.md', { encoding: 'utf8' });
fs.writeFileSync('./README.md', `${insert}\n${data}`);
if (insert.trim().length !== 0) {
const data = fs.readFileSync('./README.md', { encoding: 'utf8' });
fs.writeFileSync('./README.md', `${insert}\n${data}`);
}
// Patch package.json
const date = new Date(new Date().toLocaleString('en-US', { timeZone: 'America/New_York' }));

+ 4
- 2
scripts/applyPreReleasePatch.js Parādīt failu

@ -3,8 +3,10 @@ const fs = require('fs');
// Patch README
const insert = fs.readFileSync('./README.pre.md', { encoding: 'utf8' });
const data = fs.readFileSync('./README.md', { encoding: 'utf8' });
fs.writeFileSync('./README.md', `${insert}\n${data}`);
if (insert.trim().length !== 0) {
const data = fs.readFileSync('./README.md', { encoding: 'utf8' });
fs.writeFileSync('./README.md', `${insert}\n${data}`);
}
// Patch package.json
const date = new Date(new Date().toLocaleString('en-US', { timeZone: 'America/New_York' }));

Notiek ielāde…
Atcelt
Saglabāt