Comments (1)
Hi @deasydoesit
There is also a wrangler versions list
command which has a --json
option
For your use-case, you can try:
$ wrangler versions upload --x-versions
$ LATEST_VERSION_ID="${wrangler versions list --json --x-versions | jq '.[0].id'}"
$ wrangler versions deploy --x-versions "$LATEST_VERSION_ID@100%" -y
which should deploy your latest version to 100%
It should also be simple to adapt the above to deploy more than one version with split traffic levels (which we expect to be the more common scenario)
from workers-sdk.
Related Issues (20)
- 🐛 BUG: Uploading a HOT 1
- 🐛 BUG: Failed to parse URL error when using DO with next-on-pages
- 🐛 BUG: Durable Object Alarms not triggering after a code reload HOT 1
- 🐛 C3 BUG: C3 drops potential existing arguments in the SolidStart config
- 🐛 BUG: RPC Entrypoint Misbehaves with Request Object HOT 1
- 🐛 BUG: WebSocket without Durable Object stays in CLOSING state after close
- Jesushi
- 🐛 BUG: Custom HTTPS certificate is considered expired if it's older than 30 days
- bug;Can't set compatibility date in the future: 2024-06-05 (Code: 10021) HOT 2
- Fl
- Wrangler
- Wkrs
- Nmmk
- Wr
- 🐛 BUG: pages_build_output_dir resolving to root
- 🚀 Feature Request: Load dev https certificate and key from environment variables HOT 2
- 🐛 BUG: Incorrect "workers.api.error.too_many_crons" [code: 10072] HOT 1
- 🐛 BUG: wrangler does not mark `node:async_hooks` as external when `nodejs_als` compatibility flag is used
- 🐛 BUG: D1 Export Fails Due to Wrangler Missing the Last Character, a Zero, in the DB ID
- 🐛 BUG: Vitest cannot call fetch() on WorkerEntrypoint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workers-sdk.