Browse Source

add a note about go upgrades

tags/v2.0.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
168ec80509
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      DEVELOPING.md

+ 6
- 0
DEVELOPING.md View File

@@ -9,6 +9,12 @@ You should use the [latest distribution of the Go language for your OS and archi
9 9
 
10 10
 Oragono vendors all its dependencies. Because of this, Oragono is self-contained and you should not need to fetch any dependencies with `go get`. Doing so is not recommended, since it may fetch incompatible versions of the dependencies.
11 11
 
12
+If you're upgrading the Go version used by Oragono, there are several places where it's hard-coded and must be changed:
13
+
14
+1. `.travis.yml`, which controls the version that our CI test suite uses to build and test the code (e.g., for a PR)
15
+2. `distrib/docker/Dockerfile`, which controls the version that the Oragono binaries in our Docker images are built with
16
+3. `go.mod`: this should be updated automatically by Go when you do module-related operations
17
+
12 18
 
13 19
 ## Branches
14 20
 

Loading…
Cancel
Save