Skip to content

Commit b7e26cf

Browse files
authored
chore: remove version from binary name (#22)
1 parent 0ee3804 commit b7e26cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
fi
105105
106106
mkdir -p dist
107-
binary_name="mcp-oauth-proxy-${{ steps.version.outputs.VERSION }}-${{ matrix.name }}"
107+
binary_name="mcp-oauth-proxy-${{ matrix.name }}"
108108
if [ "${{ matrix.goos }}" = "windows" ]; then
109109
binary_name="${binary_name}.exe"
110110
fi
@@ -155,7 +155,7 @@ jobs:
155155
CGO_ENABLED: 1
156156
run: |
157157
mkdir -p dist
158-
binary_name="mcp-oauth-proxy-${{ steps.version.outputs.VERSION }}-${{ matrix.name }}"
158+
binary_name="mcp-oauth-proxy-${{ matrix.name }}"
159159
160160
go build -o "dist/${binary_name}" \
161161
-ldflags="-X main.version=${{ steps.version.outputs.VERSION }} -X main.buildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ) -s -w" \
@@ -198,7 +198,7 @@ jobs:
198198
lipo -create \
199199
"$amd64_binary" \
200200
"$arm64_binary" \
201-
-output "dist/mcp-oauth-proxy-${{ steps.version.outputs.VERSION }}-darwin-universal"
201+
-output "dist/mcp-oauth-proxy-darwin-universal"
202202
203203
- name: Upload universal binary artifact
204204
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)