Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions docs/polyglot/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ prerelease. Additional environment variables:
- `DURABLE_WORKFLOW_INSTALL_DIR` — install location (default `~/.local/bin`).
- `DURABLE_WORKFLOW_BIN_NAME` — installed executable name (default `dw`).

The shell installer doesn't install the Intel macOS binary yet. On an Intel
Mac, use the verified download under
[Moving from `dw.phar`](#moving-from-dwphar) with `dw-macos-x86_64`.

A GitHub Actions example:

```yaml
Expand Down Expand Up @@ -141,9 +137,8 @@ manually". That message comes from the old release and can't be changed, so
use the commands above instead. Standalone-binary installs upgrade as usual
with `dw upgrade`.

On an Intel Mac, use the verified download above with `dw-macos-x86_64`.
Published 2.x `dw upgrade` has no Intel macOS asset to move to, and the shell
installer doesn't install it yet.
On an Intel Mac, move from 2.x with the shell installer. Published 2.x
`dw upgrade` has no Intel macOS asset to move to.

### Update An Installed Binary

Expand Down
11 changes: 3 additions & 8 deletions i18n/de/docusaurus-plugin-content-docs/current/polyglot/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ Umgebungsvariablen:
- `DURABLE_WORKFLOW_INSTALL_DIR`: Installationsort (Standard `~/.local/bin`).
- `DURABLE_WORKFLOW_BIN_NAME`: Name der installierten ausführbaren Datei (Standard `dw`).

Die Shell-Installation installiert die Intel-macOS-Binärdatei noch nicht.
Verwenden Sie auf einem Intel-Mac den geprüften Download unter [Umstieg von
`dw.phar`](#moving-from-dwphar) mit `dw-macos-x86_64`.

Ein Beispiel für GitHub Actions:

```yaml
Expand Down Expand Up @@ -149,10 +145,9 @@ matching PHAR manually". Diese Meldung stammt aus dem alten Release und lässt
sich nicht ändern; verwenden Sie stattdessen die obigen Befehle. Installationen
der eigenständigen Binärdatei aktualisieren sich wie gewohnt mit `dw upgrade`.

Verwenden Sie auf einem Intel-Mac den obigen geprüften Download mit
`dw-macos-x86_64`. Das veröffentlichte `dw upgrade` aus 2.x hat kein
Intel-macOS-Artefakt, zu dem es wechseln könnte, und die Shell-Installation
installiert es noch nicht.
Auf einem Intel-Mac wechseln Sie von 2.x mit der Shell-Installation. Das
veröffentlichte `dw upgrade` aus 2.x hat kein Intel-macOS-Artefakt, zu dem es
wechseln könnte.

### Eine installierte Binärdatei aktualisieren {#update-an-installed-binary}

Expand Down
2 changes: 1 addition & 1 deletion i18n/de/source-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"polyglot/cancellation.md": "f676cd3ddb39246a0f580a1e16c83bc36d2ed9458b9e6009af4cc192d299ac62",
"polyglot/cli-python-parity.md": "acf1acbf15ca9cdf069154699c5fbf8c1d1fd3241a32d201ac10b8ec76c038be",
"polyglot/cli-reference.md": "269039ffae9df115f2a2a5586b51c9ca8b273d193bfce427819e50fd2f64793a",
"polyglot/cli.mdx": "288e0fa2427d6ea0fac4b1aeaa119e329aeabd5522dd3aef2d189f4537ae0499",
"polyglot/cli.mdx": "295be10f86f243aa03fe48f565d8c7e3901488b6fb01246195146b1944f1ce05",
"polyglot/cloud-control-plane.md": "bb375e598dd1afa3207171047fb81b0cb82c382ce535ab415cb09dc10f6d748e",
"polyglot/database-support.md": "518f679ae723ae4d39db7cac78008bc8edb84a6cfba2e6c668d8f2be5d378d03",
"polyglot/deployment-modes.md": "7b508db4be86c92de76cfd8dfd946d93941c8a6f0a601a161d4d3fd1711bf97f",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ dw --version
- `DURABLE_WORKFLOW_INSTALL_DIR`: ubicación de instalación (predeterminada `~/.local/bin`).
- `DURABLE_WORKFLOW_BIN_NAME`: nombre del ejecutable instalado (predeterminado `dw`).

El instalador de shell todavía no instala el binario para macOS Intel. En un
Mac Intel, use la descarga verificada de [Migrar desde
`dw.phar`](#moving-from-dwphar) con `dw-macos-x86_64`.

Un ejemplo de GitHub Actions:

```yaml
Expand Down Expand Up @@ -117,9 +113,8 @@ Añade `%LOCALAPPDATA%\Programs\dw` a tu `PATH` si aún no está.

En una instalación PHAR 2.x, `dw upgrade` sigue respondiendo "Download the matching PHAR manually". Ese mensaje procede de la publicación antigua y no puede cambiarse, así que utiliza los comandos anteriores. Las instalaciones de binario independiente se actualizan con `dw upgrade` como siempre.

En un Mac Intel, use la descarga verificada anterior con `dw-macos-x86_64`. El
`dw upgrade` publicado de 2.x no tiene un artefacto para macOS Intel al que
cambiar, y el instalador de shell todavía no lo instala.
En un Mac Intel, migre desde 2.x con el instalador de shell. El `dw upgrade`
publicado de 2.x no tiene un artefacto para macOS Intel al que cambiar.

### Actualizar un binario instalado {#update-an-installed-binary}

Expand Down
2 changes: 1 addition & 1 deletion i18n/es/source-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"polyglot/cancellation.md": "f676cd3ddb39246a0f580a1e16c83bc36d2ed9458b9e6009af4cc192d299ac62",
"polyglot/cli-python-parity.md": "acf1acbf15ca9cdf069154699c5fbf8c1d1fd3241a32d201ac10b8ec76c038be",
"polyglot/cli-reference.md": "269039ffae9df115f2a2a5586b51c9ca8b273d193bfce427819e50fd2f64793a",
"polyglot/cli.mdx": "288e0fa2427d6ea0fac4b1aeaa119e329aeabd5522dd3aef2d189f4537ae0499",
"polyglot/cli.mdx": "295be10f86f243aa03fe48f565d8c7e3901488b6fb01246195146b1944f1ce05",
"polyglot/cloud-control-plane.md": "bb375e598dd1afa3207171047fb81b0cb82c382ce535ab415cb09dc10f6d748e",
"polyglot/database-support.md": "518f679ae723ae4d39db7cac78008bc8edb84a6cfba2e6c668d8f2be5d378d03",
"polyglot/deployment-modes.md": "7b508db4be86c92de76cfd8dfd946d93941c8a6f0a601a161d4d3fd1711bf97f",
Expand Down
11 changes: 3 additions & 8 deletions i18n/fr/docusaurus-plugin-content-docs/current/polyglot/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ préversion. Variables d'environnement supplémentaires :
- `DURABLE_WORKFLOW_INSTALL_DIR` : emplacement d'installation (`~/.local/bin` par défaut).
- `DURABLE_WORKFLOW_BIN_NAME` : nom de l'exécutable installé (`dw` par défaut).

Le script d'installation shell n'installe pas encore le binaire macOS Intel.
Sur un Mac Intel, utilisez le téléchargement vérifié décrit dans [Migrer depuis
`dw.phar`](#moving-from-dwphar) avec `dw-macos-x86_64`.

Exemple GitHub Actions :

```yaml
Expand Down Expand Up @@ -146,10 +142,9 @@ matching PHAR manually ». Ce message provient de l'ancienne version et ne peut
pas être modifié ; utilisez donc les commandes ci-dessus. Les installations du
binaire autonome se mettent à jour normalement avec `dw upgrade`.

Sur un Mac Intel, utilisez le téléchargement vérifié ci-dessus avec
`dw-macos-x86_64`. La commande `dw upgrade` publiée en 2.x n'a aucun artefact
macOS Intel vers lequel migrer, et le script d'installation shell ne l'installe
pas encore.
Sur un Mac Intel, migrez depuis 2.x avec le script d'installation shell. La
commande `dw upgrade` publiée en 2.x n'a aucun artefact macOS Intel vers lequel
migrer.

### Mettre à jour un binaire installé {#update-an-installed-binary}

Expand Down
2 changes: 1 addition & 1 deletion i18n/fr/source-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"polyglot/cancellation.md": "f676cd3ddb39246a0f580a1e16c83bc36d2ed9458b9e6009af4cc192d299ac62",
"polyglot/cli-python-parity.md": "acf1acbf15ca9cdf069154699c5fbf8c1d1fd3241a32d201ac10b8ec76c038be",
"polyglot/cli-reference.md": "269039ffae9df115f2a2a5586b51c9ca8b273d193bfce427819e50fd2f64793a",
"polyglot/cli.mdx": "288e0fa2427d6ea0fac4b1aeaa119e329aeabd5522dd3aef2d189f4537ae0499",
"polyglot/cli.mdx": "295be10f86f243aa03fe48f565d8c7e3901488b6fb01246195146b1944f1ce05",
"polyglot/cloud-control-plane.md": "bb375e598dd1afa3207171047fb81b0cb82c382ce535ab415cb09dc10f6d748e",
"polyglot/database-support.md": "518f679ae723ae4d39db7cac78008bc8edb84a6cfba2e6c668d8f2be5d378d03",
"polyglot/deployment-modes.md": "7b508db4be86c92de76cfd8dfd946d93941c8a6f0a601a161d4d3fd1711bf97f",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ dw --version
- `DURABLE_WORKFLOW_INSTALL_DIR` — インストール先(既定 `~/.local/bin`)。
- `DURABLE_WORKFLOW_BIN_NAME` — インストールする実行ファイル名(既定 `dw`)。

シェルインストーラーは Intel 版 macOS バイナリをまだインストールしません。Intel Mac では、[`dw.phar` からの移行](#moving-from-dwphar) の検証付きダウンロードを `dw-macos-x86_64` で使用してください。

GitHub Actions の例:

```yaml
Expand Down Expand Up @@ -113,7 +111,7 @@ Copy-Item release\dw-windows-x86_64.exe "$env:LOCALAPPDATA\Programs\dw\dw.exe"

2.x の PHAR インストールでは、`dw upgrade` は引き続き "Download the matching PHAR manually" と応答します。このメッセージは旧リリースに由来し変更できないため、代わりに上記のコマンドを使ってください。単独バイナリのインストールは、通常どおり `dw upgrade` で更新できます。

Intel Mac では、上記の検証付きダウンロードを `dw-macos-x86_64` で使用してください。公開済みの 2.x の `dw upgrade` には移行先の Intel 版 macOS アーティファクトがなく、シェルインストーラーもまだこれをインストールしません。
Intel Mac では、シェルインストーラーで 2.x から移行してください。公開済みの 2.x の `dw upgrade` には移行先の Intel 版 macOS アーティファクトがありません。

### インストール済みバイナリの更新 {#update-an-installed-binary}

Expand Down
2 changes: 1 addition & 1 deletion i18n/ja/source-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"polyglot/cancellation.md": "f676cd3ddb39246a0f580a1e16c83bc36d2ed9458b9e6009af4cc192d299ac62",
"polyglot/cli-python-parity.md": "acf1acbf15ca9cdf069154699c5fbf8c1d1fd3241a32d201ac10b8ec76c038be",
"polyglot/cli-reference.md": "269039ffae9df115f2a2a5586b51c9ca8b273d193bfce427819e50fd2f64793a",
"polyglot/cli.mdx": "288e0fa2427d6ea0fac4b1aeaa119e329aeabd5522dd3aef2d189f4537ae0499",
"polyglot/cli.mdx": "295be10f86f243aa03fe48f565d8c7e3901488b6fb01246195146b1944f1ce05",
"polyglot/cloud-control-plane.md": "bb375e598dd1afa3207171047fb81b0cb82c382ce535ab415cb09dc10f6d748e",
"polyglot/database-support.md": "518f679ae723ae4d39db7cac78008bc8edb84a6cfba2e6c668d8f2be5d378d03",
"polyglot/deployment-modes.md": "7b508db4be86c92de76cfd8dfd946d93941c8a6f0a601a161d4d3fd1711bf97f",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ pré-release. Variáveis de ambiente adicionais:
- `DURABLE_WORKFLOW_INSTALL_DIR`: local de instalação (padrão `~/.local/bin`).
- `DURABLE_WORKFLOW_BIN_NAME`: nome do executável instalado (padrão `dw`).

O instalador shell ainda não instala o binário para macOS Intel. Em um Mac
Intel, use o download verificado em [Migrar de `dw.phar`](#moving-from-dwphar)
com `dw-macos-x86_64`.

Um exemplo de GitHub Actions:

```yaml
Expand Down Expand Up @@ -143,9 +139,8 @@ manually". Essa mensagem vem do release antigo e não pode ser alterada, então
use os comandos acima. Instalações de binário independente são atualizadas
normalmente com `dw upgrade`.

Em um Mac Intel, use o download verificado acima com `dw-macos-x86_64`. O `dw
upgrade` publicado da 2.x não tem um artefato para macOS Intel para onde
migrar, e o instalador shell ainda não o instala.
Em um Mac Intel, migre da 2.x com o instalador shell. O `dw upgrade` publicado
da 2.x não tem um artefato para macOS Intel para onde migrar.

### Atualizar um binário instalado {#update-an-installed-binary}

Expand Down
2 changes: 1 addition & 1 deletion i18n/pt-BR/source-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"polyglot/cancellation.md": "f676cd3ddb39246a0f580a1e16c83bc36d2ed9458b9e6009af4cc192d299ac62",
"polyglot/cli-python-parity.md": "acf1acbf15ca9cdf069154699c5fbf8c1d1fd3241a32d201ac10b8ec76c038be",
"polyglot/cli-reference.md": "269039ffae9df115f2a2a5586b51c9ca8b273d193bfce427819e50fd2f64793a",
"polyglot/cli.mdx": "288e0fa2427d6ea0fac4b1aeaa119e329aeabd5522dd3aef2d189f4537ae0499",
"polyglot/cli.mdx": "295be10f86f243aa03fe48f565d8c7e3901488b6fb01246195146b1944f1ce05",
"polyglot/cloud-control-plane.md": "bb375e598dd1afa3207171047fb81b0cb82c382ce535ab415cb09dc10f6d748e",
"polyglot/database-support.md": "518f679ae723ae4d39db7cac78008bc8edb84a6cfba2e6c668d8f2be5d378d03",
"polyglot/deployment-modes.md": "7b508db4be86c92de76cfd8dfd946d93941c8a6f0a601a161d4d3fd1711bf97f",
Expand Down
11 changes: 3 additions & 8 deletions i18n/uk/docusaurus-plugin-content-docs/current/polyglot/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ dw --version
- `DURABLE_WORKFLOW_INSTALL_DIR` — каталог установлення, стандартно `~/.local/bin`.
- `DURABLE_WORKFLOW_BIN_NAME` — назва встановленого executable, стандартно `dw`.

Shell-інсталятор поки що не встановлює бінарний файл для macOS на Intel. На Mac
з Intel скористайтеся перевіреним завантаженням із розділу [Перехід із
`dw.phar`](#moving-from-dwphar) з `dw-macos-x86_64`.

Приклад GitHub Actions:

```yaml
Expand Down Expand Up @@ -144,10 +140,9 @@ manually". Це повідомлення походить зі старого в
тому використовуйте наведені вище команди. Standalone-встановлення binary
оновлюються як зазвичай через `dw upgrade`.

На Mac з Intel скористайтеся перевіреним завантаженням вище з
`dw-macos-x86_64`. Опублікований `dw upgrade` версії 2.x не має артефакту для
macOS на Intel, на який можна перейти, а shell-інсталятор поки що його не
встановлює.
На Mac з Intel переходьте з 2.x за допомогою shell-інсталятора. Опублікований
`dw upgrade` версії 2.x не має артефакту для macOS на Intel, на який можна
перейти.

### Оновлення встановленого виконуваного файлу {#update-an-installed-binary}

Expand Down
2 changes: 1 addition & 1 deletion i18n/uk/source-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"polyglot/cancellation.md": "f676cd3ddb39246a0f580a1e16c83bc36d2ed9458b9e6009af4cc192d299ac62",
"polyglot/cli-python-parity.md": "acf1acbf15ca9cdf069154699c5fbf8c1d1fd3241a32d201ac10b8ec76c038be",
"polyglot/cli-reference.md": "269039ffae9df115f2a2a5586b51c9ca8b273d193bfce427819e50fd2f64793a",
"polyglot/cli.mdx": "288e0fa2427d6ea0fac4b1aeaa119e329aeabd5522dd3aef2d189f4537ae0499",
"polyglot/cli.mdx": "295be10f86f243aa03fe48f565d8c7e3901488b6fb01246195146b1944f1ce05",
"polyglot/cloud-control-plane.md": "bb375e598dd1afa3207171047fb81b0cb82c382ce535ab415cb09dc10f6d748e",
"polyglot/database-support.md": "518f679ae723ae4d39db7cac78008bc8edb84a6cfba2e6c668d8f2be5d378d03",
"polyglot/deployment-modes.md": "7b508db4be86c92de76cfd8dfd946d93941c8a6f0a601a161d4d3fd1711bf97f",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ dw --version
- `DURABLE_WORKFLOW_INSTALL_DIR`:安装位置(默认 `~/.local/bin`)。
- `DURABLE_WORKFLOW_BIN_NAME`:安装的可执行文件名(默认 `dw`)。

Shell 安装脚本暂不安装 Intel macOS 二进制文件。在 Intel Mac 上,请使用 [从 `dw.phar` 迁移](#moving-from-dwphar) 中的校验下载方式,并选择 `dw-macos-x86_64`。

GitHub Actions 示例:

```yaml
Expand Down Expand Up @@ -113,7 +111,7 @@ Copy-Item release\dw-windows-x86_64.exe "$env:LOCALAPPDATA\Programs\dw\dw.exe"

在 2.x PHAR 安装中,`dw upgrade` 仍会回复 "Download the matching PHAR manually"。该消息来自旧发布且无法更改,请改用上方命令。独立二进制文件安装照常使用 `dw upgrade` 升级。

在 Intel Mac 上,请使用上述校验下载方式并选择 `dw-macos-x86_64`。已发布的 2.x `dw upgrade` 没有可迁移到的 Intel macOS 制品,Shell 安装脚本也暂不安装它。
在 Intel Mac 上,请使用 Shell 安装脚本从 2.x 迁移。已发布的 2.x `dw upgrade` 没有可迁移到的 Intel macOS 制品。

### 更新已安装的二进制文件 {#update-an-installed-binary}

Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-Hans/source-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"polyglot/cancellation.md": "f676cd3ddb39246a0f580a1e16c83bc36d2ed9458b9e6009af4cc192d299ac62",
"polyglot/cli-python-parity.md": "acf1acbf15ca9cdf069154699c5fbf8c1d1fd3241a32d201ac10b8ec76c038be",
"polyglot/cli-reference.md": "269039ffae9df115f2a2a5586b51c9ca8b273d193bfce427819e50fd2f64793a",
"polyglot/cli.mdx": "288e0fa2427d6ea0fac4b1aeaa119e329aeabd5522dd3aef2d189f4537ae0499",
"polyglot/cli.mdx": "295be10f86f243aa03fe48f565d8c7e3901488b6fb01246195146b1944f1ce05",
"polyglot/cloud-control-plane.md": "bb375e598dd1afa3207171047fb81b0cb82c382ce535ab415cb09dc10f6d748e",
"polyglot/database-support.md": "518f679ae723ae4d39db7cac78008bc8edb84a6cfba2e6c668d8f2be5d378d03",
"polyglot/deployment-modes.md": "7b508db4be86c92de76cfd8dfd946d93941c8a6f0a601a161d4d3fd1711bf97f",
Expand Down
4 changes: 2 additions & 2 deletions scripts/installer-source.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"source_repository": "durable-workflow/cli",
"source_commit": "277df0c409f1ca403e97cf4dc725f15a3a26056b",
"source_commit": "4130ab182630a01e0abb9e7bf0c6693ba3f9a059",
"files": {
"static/install.sh": {
"source_path": "scripts/install.sh",
"sha256": "1df33fbcd705dc67a4c9ebfc8a3487345c173d5801971028a280255e877648d0"
"sha256": "2835709cf6cd818f7782b670a19f8404a109d93507a397966e0209aec25fd2f5"
},
"static/install.ps1": {
"source_path": "scripts/install.ps1",
Expand Down
7 changes: 7 additions & 0 deletions src/components/CliInstall/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ const PLATFORMS = [
command: 'curl -fsSL https://durable-workflow.com/install.sh | sh',
asset: 'dw-macos-aarch64',
},
{
id: 'macos-x86_64',
label: 'macOS (Intel)',
shell: 'bash',
command: 'curl -fsSL https://durable-workflow.com/install.sh | sh',
asset: 'dw-macos-x86_64',
},
{
id: 'windows-x86_64',
label: 'Windows (x86_64)',
Expand Down
9 changes: 8 additions & 1 deletion static/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,15 @@ case "$uname_m" in
*) err "unsupported architecture: $uname_m" ;;
esac

# Intel macOS binaries start with 2.5.0 (cli#135). An explicit older tag has
# no dw-macos-x86_64 asset, so say so instead of failing on a missing download.
if [ "$os" = "macos" ] && [ "$arch" = "x86_64" ]; then
err "macos-x86_64 binaries are not currently published. Use the PHAR with a system PHP instead."
case "${VERSION#v}" in
latest|stable|supported) ;;
0.*|1.*|2.[0-4]|2.[0-4].*|2.[0-4]-*)
err "dw-macos-x86_64 is published from 2.5.0; ${VERSION} has no Intel macOS binary. Install 2.5.0 or later." ;;
*) ;;
esac
fi

asset="dw-${os}-${arch}"
Expand Down
2 changes: 1 addition & 1 deletion static/stable-releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"schema_version": 1,
"updated_at": "2026-11-12",
"artifacts": {
"cli": "2.5.0",
"cli": "2.5.1",
"helm-chart": "1.3.0",
"sdk-php": "3.14.0",
"sdk-python": "2.16.0",
Expand Down
Loading