ci: release-please to bump versions in translated docs (#1442)

This commit is contained in:
James Hegedus 2023-01-21 21:23:12 +11:00 committed by GitHub
parent fd486dc2ef
commit 06cd31a59c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 40 deletions

View File

@ -15,5 +15,7 @@ jobs:
release-type: simple
bump-minor-pre-major: true # remove this to enable breaking changes causing 1.0.0 tag
extra-files: |
docs/guide/getting-started.md
SECURITY.md
docs/guide/getting-started.md
docs/pt-br/guide/getting-started.md
docs/zh-hans/guide/getting-started.md

View File

@ -15,29 +15,41 @@ Você pode também acompanhar o passo a passo da instalação através [deste v
## 1. Instalando as dependências
**Linux**:
asdf primarily requires `git` & `curl`. Here is a _non-exhaustive_ list of commands to run for _your_ package manager (some might automatically install these tools in later steps).
| Gerenciador de Pacotes | Comando |
| ---------------------- | ------------------------------ |
| Aptitude | `sudo apt install curl git` |
| DNF | `sudo dnf install curl git` |
| Pacman | `sudo pacman -S curl git` |
| Zypper | `sudo zypper install curl git` |
| OS | Package Manager | Command |
| ----- | --------------- | ---------------------------------- |
| linux | Aptitude | `apt install curl git` |
| linux | DNF | `dnf install curl git` |
| linux | Pacman | `pacman -S curl git` |
| linux | Zypper | `zypper install curl git` |
| macOS | Homebrew | `brew install coreutils curl git` |
| macOS | Spack | `spack install coreutils curl git` |
**macOS**:
::: tip Note
| Gerenciador de Pacotes | Comando |
| ---------------------- | --------------------------------------------------------------- |
| Homebrew | As dependências serão automaticamente instaladas pelo Homebrew. |
| Spack | `spack install coreutils curl git` |
`sudo` may be required depending on your system configuration.
## 2. Instalando o asdf
:::
Nós recomendamos a instalação através do Git, entretanto existem outros métodos específicos para algumas plataformas:
## 2. Download asdf
| Método | Comando |
### Official Download
<!-- x-release-please-start-version -->
```shell:no-line-numbers
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.1
```
<!-- x-release-please-end -->
### Community Supported Download Methods
We highly recommend using the official `git` method.
| Method | Command |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Git | `git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0` |
| Homebrew | `brew install asdf` |
| Pacman | `git clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si` or use your preferred [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers) |

View File

@ -11,35 +11,43 @@
## 1. 安装依赖
**Linux**
asdf primarily requires `git` & `curl`. Here is a _non-exhaustive_ list of commands to run for _your_ package manager (some might automatically install these tools in later steps).
| OS | Package Manager | Command |
| ----- | --------------- | ---------------------------------- |
| linux | Aptitude | `apt install curl git` |
| linux | DNF | `dnf install curl git` |
| linux | Pacman | `pacman -S curl git` |
| linux | Zypper | `zypper install curl git` |
| macOS | Homebrew | `brew install coreutils curl git` |
| macOS | Spack | `spack install coreutils curl git` |
::: tip Note
`sudo` may be required depending on your system configuration.
::: tip 注意
根据你的系统配置可能会需要 `sudo` 权限。
:::
| 包管理器 | 命令 |
| -------- | ------------------------- |
| Aptitude | `apt install curl git` |
| DNF | `dnf install curl git` |
| Pacman | `pacman -S curl git` |
| Zypper | `zypper install curl git` |
**macOS**
| 包管理器 | 命令 |
| -------- | ----------------------------------- |
| Homebrew | Homebrew 将会自动安装所需要的依赖。 |
| Spack | `spack install coreutils curl git` |
## 2. 下载 asdf
尽管还有其他特定于平台的方法,我们建议使用 Git
### Official Download
| 方法 | 命令 |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Git | `git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0` |
<!-- x-release-please-start-version -->
```shell:no-line-numbers
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.1
```
<!-- x-release-please-end -->
### Community Supported Download Methods
We highly recommend using the official `git` method.
| Method | Command |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Homebrew | `brew install asdf` |
| Pacman | `git clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si` 或者使用你更习惯的 [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers) |
| Pacman | `git clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si` or use your preferred [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers) |
## 3. 安装 asdf