Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 409 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 409 Bytes

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