Skip to content

Commit

Permalink
Merge pull request #1894 from holium/fix-desk-ship-deploy
Browse files Browse the repository at this point in the history
ensure desk.ship file is pointing to correct host/moon when building …
  • Loading branch information
gdbroman authored Jul 11, 2023
2 parents 31aa498 + fda193b commit 6a77f9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/scripts/bump-desk-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ module.exports = ({ github }, ci, desks) => {
console.log(`bump.js: build version = ${ci.buildVersion}`);
for (let i = 0; i < desks.length; i++) {
const desk = desks[i];
console.log(`bump.js: setting developer desk in '${desk}/desk.ship'...`);
fs.writeFileSync(
`${desk}/desk.ship`,
ci.channel === 'latest' ? '~hostyv' : '~nimwyd-ramwyl-dozzod-hostyv'
);
console.log(`bump.js: reading file '${desk}/desk.docket-0'...`);
const docketInfo = fs.readFileSync(`${desk}/desk.docket-0`).toString();
console.log(`bump.js: docketInfo = ${typeof docketInfo} ${docketInfo}`);
Expand Down

0 comments on commit 6a77f9f

Please sign in to comment.