From 4e9a0530651bb10814469d5e8400f9f0ca235c1f Mon Sep 17 00:00:00 2001
From: Micah Rairdon <micah.rairdon@gmail.com>
Date: Wed, 26 Mar 2025 14:18:59 -0400
Subject: [PATCH] fix: add build step to workflow and ensure dist files are
 included in package

---
 .github/workflows/release.yml | 3 +++
 package.json                  | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 749ef05..9480449 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -51,6 +51,9 @@ jobs:
         run: git push --follow-tags origin main
         # Ensure this pushes to the correct branch (e.g., main)
 
+      - name: Build package
+        run: npm run build
+
       - name: Publish to npm
         run: npm publish --access public
         env:
diff --git a/package.json b/package.json
index 6754ea5..0742ed7 100644
--- a/package.json
+++ b/package.json
@@ -8,9 +8,9 @@
     "mcp-server-azure-devops": "./bin/mcp-server-azure-devops.js"
   },
   "files": [
-    "dist",
-    "bin",
-    "docs",
+    "dist/",
+    "bin/",
+    "docs/",
     "LICENSE",
     "README.md"
   ],