Skip to content

Commit 1eb479c

Browse files
fixed release pipeline
1 parent 001fc97 commit 1eb479c

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ jobs:
130130
131131
- name: Render pinned installer
132132
run: |
133-
sed "s|__GANDR_RELEASE_REF__|${GITHUB_REF_NAME}|g" install.sh > dist/install.sh
133+
sed -e "s|__GANDR_RELEASE_REF__|${GITHUB_REF_NAME}|g" \
134+
-e "s|__GANDR_IS_RELEASE__|true|g" \
135+
install.sh > dist/install.sh
134136
chmod +x dist/install.sh
135137
136138
- name: Publish release

install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ RELEASE_REF="${GANDR_VERSION:-__GANDR_RELEASE_REF__}"
99
TEMP_FILES=()
1010
GANDR_WAS_BUSY=0
1111

12-
if [ "$RELEASE_REF" = "__GANDR_RELEASE_REF__" ]; then
12+
GANDR_IS_RELEASE="__GANDR_IS_RELEASE__"
13+
if [ "$GANDR_IS_RELEASE" != "true" ]; then
1314
echo "[gandr] install.sh is a release-installer template." >&2
1415
echo "[gandr] Use install.local.sh for local development, or run the release-hosted install.sh asset." >&2
1516
echo "[gandr] You can also set GANDR_VERSION explicitly when testing this template." >&2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gandr",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A WSL bridge for Claude Desktop on Windows that routes MCP tool calls into Claude Code running inside Linux.",
55
"scripts": {
66
"build": "bun run scripts/build.ts",

0 commit comments

Comments
 (0)