docs: fix markdownlint issue md040/fenced-code-language

This commit is contained in:
albertony
2025-07-21 20:23:16 +02:00
parent 667ad093eb
commit 1c26f40078
11 changed files with 252 additions and 249 deletions
+12 -12
View File
@@ -48,7 +48,7 @@ Early in the next release cycle update the dependencies.
If the `make updatedirect` upgrades the version of go in the `go.mod`
```
```text
go 1.22.0
```
@@ -59,7 +59,7 @@ If `make updatedirect` added a `toolchain` directive then remove it.
We don't want to force a toolchain on our users. Linux packagers are
often using a version of Go that is a few versions out of date.
```
```sh
go list -m -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' all > /tmp/potential-upgrades
go get -d $(cat /tmp/potential-upgrades)
go mod tidy -go=1.22 -compat=1.22
@@ -69,7 +69,7 @@ If the `go mod tidy` fails use the output from it to remove the
package which can't be upgraded from `/tmp/potential-upgrades` when
done
```
```sh
git co go.mod go.sum
```
@@ -101,7 +101,7 @@ The above procedure will not upgrade major versions, so v2 to v3.
However this tool can show which major versions might need to be
upgraded:
```
```sh
go run github.com/icholy/gomajor@latest list -major
```
@@ -111,7 +111,7 @@ Expect API breakage when updating major versions.
At some point after the release run
```
```sh
bin/tidy-beta v1.55
```
@@ -156,7 +156,7 @@ which is a private repo containing artwork from sponsors.
Create an update website branch based off the last release
```
```sh
git co -b update-website
```
@@ -164,19 +164,19 @@ If the branch already exists, double check there are no commits that need saving
Now reset the branch to the last release
```
```sh
git reset --hard v1.64.0
```
Create the changes, check them in, test with `make serve` then
```
```sh
make upload_test_website
```
Check out https://test.rclone.org and when happy
```
```sh
make upload_website
```
@@ -186,14 +186,14 @@ Cherry pick any changes back to master and the stable branch if it is active.
To do a basic build of rclone's docker image to debug builds locally:
```
```sh
docker buildx build --load -t rclone/rclone:testing --progress=plain .
docker run --rm rclone/rclone:testing version
```
To test the multipatform build
```
```sh
docker buildx build -t rclone/rclone:testing --progress=plain --platform linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6 .
```
@@ -201,6 +201,6 @@ To make a full build then set the tags correctly and add `--push`
Note that you can't only build one architecture - you need to build them all.
```
```sh
docker buildx build --platform linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6 -t rclone/rclone:1.54.1 -t rclone/rclone:1.54 -t rclone/rclone:1 -t rclone/rclone:latest --push .
```