patchver

Crates.iopatchver
lib.rspatchver
version0.2.0
sourcesrc
created_at2024-08-16 04:24:30.474155
updated_at2024-10-01 03:05:55.308575
descriptionTool to promote exisiting Deno binaries to a different version
homepage
repository
max_upload_size
id1339916
size13,213
Divy Srivastava (littledivy)

documentation

README

Tool to promote exisiting Deno binaries to a different version.

Install

cargo install patchver

Usage

Modify your code to use sui to get current version at run-time.

use once_cell::sync::Lazy;

static CHANNEL: Lazy<&str> = Lazy::new(|| {
    libsui::find_section("denover")
        .unwrap_or("stable")
});

Promote to new channel:

patchver deno deno_new --channel rc
Commit count: 0

cargo fmt