Skip to content

Commit 9987004

Browse files
committed
docs: clarify upgrade instructions for pre and post v1.1.18 users
1 parent 39f366a commit 9987004

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,20 @@ Invoke-WebRequest -Uri "https://github.com/doITmagic/rag-code-mcp/releases/lates
7676

7777
### 🔄 Keep Updated
7878

79-
RagCode now includes a self-update mechanism.
79+
The auto-update feature is available starting with **v1.1.18**.
8080

81-
**For existing users (Upgrade):**
82-
```bash
83-
# If you installed using the method above (v1.1.18+):
84-
rag-code-mcp --update
85-
```
81+
**How to Upgrade:**
82+
83+
1. **If you are on an older version (< v1.1.18):**
84+
Your version **does not know** the update command.
85+
You must **re-run the installation command** (the curl command above) one last time.
86+
*(Don't worry, your indexes and configuration will be preserved).*
87+
88+
2. **If you are on v1.1.18 or newer:**
89+
Simply run:
90+
```bash
91+
rag-code-mcp --update
92+
```
8693

8794
**For new installations:**
8895
The update system is built-in. Use the installer once, then simply run `rag-code-mcp --update` anytime to get the latest features.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module github.com/doITmagic/rag-code-mcp
33
go 1.24.4
44

55
require (
6+
github.com/Masterminds/semver/v3 v3.4.0
67
github.com/PuerkitoBio/goquery v1.10.0
78
github.com/VKCOM/php-parser v0.8.2
89
github.com/fsnotify/fsnotify v1.9.0
@@ -15,7 +16,6 @@ require (
1516
)
1617

1718
require (
18-
github.com/Masterminds/semver/v3 v3.4.0 // indirect
1919
github.com/andybalholm/cascadia v1.3.2 // indirect
2020
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2121
github.com/dlclark/regexp2 v1.10.0 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
2-
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
31
github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0=
42
github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
53
github.com/PuerkitoBio/goquery v1.10.0 h1:6fiXdLuUvYs2OJSvNRqlNPoBm6YABE226xrbavY5Wv4=

0 commit comments

Comments
 (0)