Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Reapply Pull Requests Prior to Release v2.0.2 #905

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

Timothyw0
Copy link
Member

@Timothyw0 Timothyw0 commented Dec 27, 2024

This PR reapplies the PRs that were reverted in order to release the high critical v2.0.2 version. The diff below shows changes that were released in v2.0.2 and various e2e testing fixes.

Ran the following diff to ensure code has been reverted properly:
PS C:\wagit\static-web-apps-cli> git diff e941c77890c1e2e0aaf084e9ba8a17b33c411444 >> diff.txt

diff --git a/.github/workflows/azuresdkdrop.yml b/.github/workflows/azuresdkdrop.yml
index 42e0cb5e..bcf6094a 100644
--- a/.github/workflows/azuresdkdrop.yml
+++ b/.github/workflows/azuresdkdrop.yml
@@ -13,7 +13,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [macos-12, windows-latest, ubuntu-latest]
+        os: [macos-14, windows-latest, ubuntu-latest]
         node-version: [18.x, 20.x]
 
     steps:
@@ -96,7 +96,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Download artifact
-      uses: actions/download-artifact@v2
+      uses: actions/download-artifact@v4
       with:
           name: package
 
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3850931c..03161f3d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,7 +27,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [macos-12]
+        os: [macos-14]
         node-version: [18.x, 20.x]
 
     name: "test: use node ${{ matrix.node-version }}"
@@ -58,7 +58,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [macos-12]
+        os: [macos-14]
         node-version: [18.x, 20.x]
 
     name: "deploy: use node ${{ matrix.node-version }}"
diff --git a/package-lock.json b/package-lock.json
index ee0fb3c3..01ea47be 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "@azure/static-web-apps-cli",
-  "version": "2.0.1",
+  "version": "2.0.2",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "@azure/static-web-apps-cli",
-      "version": "2.0.1",
+      "version": "2.0.2",
       "license": "MIT",
       "dependencies": {
         "@azure/arm-appservice": "^15.0.0",
diff --git a/package.json b/package.json
index a60d3160..48dc7a66 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@azure/static-web-apps-cli",
-  "version": "2.0.1",
+  "version": "2.0.2",
   "description": "Azure Static Web Apps CLI",
   "type": "module",
   "scripts": {
diff --git a/src/core/constants.ts b/src/core/constants.ts
index 86e71a46..e0f8ddcd 100644
--- a/src/core/constants.ts
+++ b/src/core/constants.ts
@@ -11,7 +11,7 @@ const __dirname = path.dirname(__filename);
 export const DEPLOY_BINARY_NAME = "StaticSitesClient";
 export const DEPLOY_BINARY_STABLE_TAG = "stable";
 export const DEPLOY_FOLDER = path.join(os.homedir(), ".swa", "deploy");
-export const STATIC_SITE_CLIENT_RELEASE_METADATA_URL = "https://swalocaldeploy.azureedge.net/downloads/versions.json";
+export const STATIC_SITE_CLIENT_RELEASE_METADATA_URL = "https://aka.ms/swalocaldeploy";
 
 // Data-api-builder related constants
 export const DATA_API_BUILDER_BINARY_NAME = "DataApiBuilder";

@Timothyw0 Timothyw0 requested a review from cjk7989 as a code owner December 27, 2024 15:50
@github-actions github-actions bot added scope: core Issues happened a the ./src/core level scope: auth Issues related to the authentication emulator labels Dec 27, 2024
@Timothyw0 Timothyw0 changed the title Reapply Pull Requests from Release v2.0.1 Reapply Pull Requests Prior to Release v2.0.2 Dec 27, 2024
@Timothyw0 Timothyw0 requested a review from mkarmark December 27, 2024 15:53
@Timothyw0 Timothyw0 changed the title Reapply Pull Requests Prior to Release v2.0.2 chore: Reapply Pull Requests Prior to Release v2.0.2 Dec 27, 2024
@Timothyw0 Timothyw0 merged commit 172715a into Azure:main Jan 7, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: auth Issues related to the authentication emulator scope: core Issues happened a the ./src/core level
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants