Skip to content

Commit 0bff58a

Browse files
committed
fix: package skills and LICENSE for all platforms
This change updates the release workflows to include the 'skills' directory and 'LICENSE' file in the release packages. It also fixes the Windows archive command to preserve the directory structure when creating the ZIP archive. Change-Id: Iadee6ff4aa2ff4abdd328d613d295976503f60ea
1 parent 31b15cf commit 0bff58a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/nightly-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
goarch: "amd64",
6666
bin_file: "devops-mcp-server.exe",
6767
archive: "win32.x64.devops.zip",
68-
archive_cmd: 'zip -j "${ARCHIVE_PATH}" "${RELEASE_DIR}"/*',
68+
archive_cmd: 'cd "${RELEASE_DIR}" && zip -r "${ARCHIVE_PATH}" .',
6969
}
7070
steps:
7171
- uses: actions/checkout@v4
@@ -89,7 +89,9 @@ jobs:
8989
jq "${command_exp}" < ../gemini-extension.json >"${RELEASE_DIR}/gemini-extension.json"
9090
9191
cp ../README.md "${RELEASE_DIR}/"
92+
cp ../LICENSE "${RELEASE_DIR}/"
9293
cp -r ../commands "${RELEASE_DIR}/"
94+
cp -r ../skills "${RELEASE_DIR}/"
9395
9496
- name: Set up Go
9597
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
goarch: "amd64",
6666
bin_file: "devops-mcp-server.exe",
6767
archive: "win32.x64.devops.zip",
68-
archive_cmd: 'zip -j "${ARCHIVE_PATH}" "${RELEASE_DIR}"/*',
68+
archive_cmd: 'cd "${RELEASE_DIR}" && zip -r "${ARCHIVE_PATH}" .',
6969
}
7070
steps:
7171
- uses: actions/checkout@v4
@@ -89,7 +89,9 @@ jobs:
8989
jq "${command_exp}" < ../gemini-extension.json >"${RELEASE_DIR}/gemini-extension.json"
9090
9191
cp ../README.md "${RELEASE_DIR}/"
92+
cp ../LICENSE "${RELEASE_DIR}/"
9293
cp -r ../commands "${RELEASE_DIR}/"
94+
cp -r ../skills "${RELEASE_DIR}/"
9395
9496
- name: Set up Go
9597
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00

0 commit comments

Comments
 (0)