Skip to content

Commit c11c9cf

Browse files
mpywclaude
andcommitted
feat: add tag_and_release workflow and improve README
- Add tag_and_release.yml that combines tag + release in one workflow - Update binary download section with curl + tar examples for Linux/macOS Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1be15d8 commit c11c9cf

2 files changed

Lines changed: 41 additions & 2 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tag and Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: "Version to release (e.g., v1.2.3)"
8+
required: true
9+
type: string
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
tag:
16+
uses: ./.github/workflows/tag.yml
17+
with:
18+
version: ${{ inputs.version }}
19+
20+
release:
21+
needs: [tag]
22+
uses: ./.github/workflows/release.yml
23+
with:
24+
version: ${{ inputs.version }}
25+
secrets: inherit

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,23 @@ curl -LO https://github.com/mpyw/sql-http-proxy/releases/latest/download/sql-htt
4141
sudo rpm -i sql-http-proxy-VERSION-1.x86_64.rpm
4242
```
4343

44-
## Binary Download
44+
## Binary Download (Linux / macOS)
4545

46-
Download pre-built binaries from [GitHub Releases](https://github.com/mpyw/sql-http-proxy/releases).
46+
```bash
47+
# Set version and architecture
48+
export VERSION=1.0.0
49+
export ARCH=amd64 # or arm64
50+
51+
# Linux
52+
curl -L "https://github.com/mpyw/sql-http-proxy/releases/download/v${VERSION}/sql-http-proxy_${VERSION}_linux_${ARCH}.tar.gz" | tar xz
53+
sudo mv sql-http-proxy /usr/local/bin/
54+
55+
# macOS
56+
curl -L "https://github.com/mpyw/sql-http-proxy/releases/download/v${VERSION}/sql-http-proxy_${VERSION}_darwin_${ARCH}.tar.gz" | tar xz
57+
sudo mv sql-http-proxy /usr/local/bin/
58+
```
59+
60+
Or download manually from [GitHub Releases](https://github.com/mpyw/sql-http-proxy/releases).
4761

4862
## Go Install
4963

0 commit comments

Comments
 (0)