cloudflare / cloudflare/workers-sdk

support `wrangler deploy --tag` and `--message` (lack of feature parity with `wrangler versions upload --tag`)

Open
#10,933 2 comments 7 reactions 0 assignees View on GitHub
quick-win
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
187

Description

### What versions & operating system are you using?

wrangler@4.42.1

### Please provide a link to a minimal reproduction

_No response_

### Describe the Bug

we'd like to be able to be able to upload, deploy, and tag a wrangler version in a single command, for this we'd like `--tag` and `--message` command line flags to be supported by [`wrangler deploy`](https://developers.cloudflare.com/workers/wrangler/commands/#deploy).

Today we can do this in a clunky way with [`wrangler versions upload`](https://developers.cloudflare.com/workers/wrangler/commands/#versions-upload):

```
wrangler versions upload --tag someTag --message "some message"
# complex step to extract the uploaded version id
wrangler versions deploy extractedVersionId
```

instead we'd like to be able to do:
```
wrangler deploy --tag someTag --message "some message"
```

### Please provide any relevant error logs

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by comparing the `wrangler deploy` and `wrangler versions upload` command entry points, using the linked Wrangler command documentation to confirm their current flags. Done means `deploy` accepts `--tag` and `--message` and performs upload, deployment, and tagging in one command without extracting a version ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.