Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature Request: Provide --latest-version flag to allow wrangler versions deploy to deploy latest worker version #5799

Open
deasydoesit opened this issue May 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@deasydoesit
Copy link

Describe the solution

I'm using wrangler 3.55.0 in the context of a CI/CD pipeline in Github Actions.

When a new git tag gets created, I'm trying to perform the following:

(1) Create new Worker version via wrangler versions upload for the git tag
(2) Deploy the newly created Worker version via wrangler versions deploy

However, I'm finding it clunky to do so.

From my understanding, wrangler versions deploy doesn't offer a flag for deploying a "latest" version, so you need to parse the output of wrangler versions upload which is in a generic text format as there's no current option for structured output via JSON.

@deasydoesit deasydoesit added the enhancement New feature or request label May 9, 2024
@deasydoesit deasydoesit changed the title 馃殌 Feature Request: Provide --latest flag to allow wrangler versions deploy to deploy latest worker version 馃殌 Feature Request: Provide --latest-version flag to allow wrangler versions deploy to deploy latest worker version May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Untriaged
Development

No branches or pull requests

1 participant