aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2022-03-02 18:49:16 +0800
committerGitHub <noreply@github.com>2022-03-02 18:49:16 +0800
commited81fc5a0136f507276bcb64d0f7116912bdacc4 (patch)
tree9c532df56d648e0f88a5dfd84ce78d206f3b6128 /docs
parent8f6c4341f755c8dda66c34dc8ffd22c8abfff263 (diff)
docs: update release playbook for ARMv7 (#6792)
[skip ci]
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/release/release_new_version.md17
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/dev/release/release_new_version.md b/docs/dev/release/release_new_version.md
index bedd44e5..e3d7d936 100644
--- a/docs/dev/release/release_new_version.md
+++ b/docs/dev/release/release_new_version.md
@@ -53,18 +53,17 @@ All commands are starting at the repository root.
$ TAGS="cert pam" task release
# Produce the Tarball
- $ export VERSION=0.12.4
+ $ export VERSION=0.12.4
$ cd release && tar czf gogs_${VERSION}_linux_$(go env GOARCH).tar.gz gogs
```
- ARMv7:
```sh
- # Extract the binary from the Docker image
- $ docker pull --platform linux/arm/v7 gogs/gogs:${VERSION}
- $ docker run \
- --platform linux/arm/v7 \
- -v ${PWD}:/opt/mount/ \
- gogs/gogs:${VERSION} \
- bash -c "cp /app/gogs/gogs /opt/mount/"
+ # Produce the ZIP archive
+ $ TAGS="cert pam" task release
+
+ # Produce the Tarball
+ $ export VERSION=0.12.4
+ $ cd release && tar czf gogs_${VERSION}_linux_armv7.tar.gz gogs
```
- ARMv8:
```sh
@@ -72,7 +71,7 @@ All commands are starting at the repository root.
$ TAGS="cert pam" task release
# Produce the Tarball
- $ export VERSION=0.12.4
+ $ export VERSION=0.12.4
$ cd release && tar czf gogs_${VERSION}_linux_armv8.tar.gz gogs
```
- Windows: