Skip to content

Commit 34f483c

Browse files
committed
add usage
1 parent 1e143e5 commit 34f483c

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

scripts/release.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
#!/bin/bash
2+
#
3+
# Release script for opencode-supermemory
4+
#
5+
# Usage:
6+
# ./scripts/release.sh [patch|minor|major]
7+
#
8+
# Examples:
9+
# ./scripts/release.sh patch # 0.1.4 → 0.1.5
10+
# ./scripts/release.sh minor # 0.1.4 → 0.2.0
11+
# ./scripts/release.sh major # 0.1.4 → 1.0.0
12+
#
13+
# After running, push to trigger the GitHub Actions release workflow:
14+
# git push && git push --tags
15+
#
16+
# Prerequisites:
17+
# - jq installed
18+
# - NPM_TOKEN secret configured in GitHub repo settings
19+
#
220
set -e
321

422
BUMP_TYPE="${1:-patch}"

0 commit comments

Comments
 (0)