Skip to content

Commit

Permalink
Add RNW 0.73.3
Browse files Browse the repository at this point in the history
  • Loading branch information
acoates-ms committed Mar 12, 2024
1 parent ffda1ff commit 5a2c4ae
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/update-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # fetch all branches etc
submodules: true
submodules: false
- uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '18'
# Clean up some unneeded disk hogs
# - run: |
# $path = "$Env:Programfiles"
Expand All @@ -42,7 +42,7 @@ jobs:
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Andrew Coates"
- run: npm install semver
- run: node generate-all.js
- run: node generate-all.js onlyOne
- run: git add RELEASES
- run: git commit -m "Update RELEASES"
- run: git push
Expand All @@ -53,10 +53,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # fetch all branches etc
submodules: true
submodules: false
- uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '18'
# Clean up some unneeded disk hogs
- run: Remove-Item "$Env:Programfiles\Azure Cosmos DB Emulator" -Recurse -Force -ErrorAction SilentlyContinue -ErrorVariable err
- run: Write-Host $err
Expand All @@ -65,7 +65,7 @@ jobs:
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Andrew Coates"
- run: npm install semver
- run: node generate-all-mac.js
- run: node generate-all-mac.js onlyOne
- run: git add RELEASES_MAC
- run: git commit -m "Update RELEASES_MAC"
- run: git push
1 change: 1 addition & 0 deletions RELEASES
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0.73.3
0.73.2
0.73.1
0.73.0
Expand Down
10 changes: 10 additions & 0 deletions generate-all-mac.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ const { execSync } = require("child_process");
const { join } = require("path");
const { existsSync } = require("fs");

let onlyOne = false;

function run() {

if (process.argv.length == 3 && process.argv[2] === 'onlyOne') {
onlyOne = true;
}

const cmd = "npm info react-native-macos versions --json";
console.log("Running: " + cmd);
const allVersions = JSON.parse(execSync(cmd).toString());
Expand All @@ -20,6 +27,9 @@ function run() {
const newReleaseCmd = `node new-release.js ${rnwVersion} mac`;
console.log("Running: " + newReleaseCmd);
execSync(newReleaseCmd, { stdio: "inherit" });
if (onlyOne){
break;
}
}
}
if (existsSync(join(__dirname, "wt-diffs"))) {
Expand Down
9 changes: 9 additions & 0 deletions generate-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ const { execSync } = require("child_process");
const { join } = require("path");
const { existsSync } = require("fs");

let onlyOne = false;

function run() {

if (process.argv.length == 3 && process.argv[2] === 'onlyOne') {
onlyOne = true;
}
const cmd = "npm info react-native-windows versions --json";
console.log("Running: " + cmd);
const allVersions = JSON.parse(execSync(cmd).toString());
Expand All @@ -20,6 +26,9 @@ function run() {
const newReleaseCmd = `node new-release.js ${rnwVersion}`;
console.log("Running: " + newReleaseCmd);
execSync(newReleaseCmd, { stdio: "inherit" });
if (onlyOne){
break;
}
}
}
if (existsSync(join(__dirname, "wt-diffs"))) {
Expand Down

0 comments on commit 5a2c4ae

Please sign in to comment.