Skip to content

Commit

Permalink
Drop webview prefix from tag (#45)
Browse files Browse the repository at this point in the history
* Add webview prefix to release URL

* Bump to 0.0.8 (0.1.7)
  • Loading branch information
zephraph authored Sep 23, 2024
1 parent 1095783 commit 075dac3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.0.8 (binary 0.1.7) -- 2024-09-23

NOTE: The binary version was bumped this release, but it doesn't actually have changes.
This is just me forcing a new release to be published.

- Fixed the release URL to ensure the download comes from the correct place

## 0.0.7 (binary 0.1.6) -- 2024-09-23

- Added this changelog
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deno-webview"
version = "0.1.6"
version = "0.1.7"
edition = "2021"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@justbe/webview",
"exports": "./src/lib.ts",
"version": "0.0.7",
"version": "0.0.8",
"tasks": {
"dev": "deno run --watch main.ts",
"gen": "deno task gen:rust && deno task gen:deno",
Expand Down
4 changes: 2 additions & 2 deletions src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type { WebViewOptions } from "./schemas.ts";

// Should match the cargo package version
/** The version of the webview binary that's expected */
export const BIN_VERSION = "0.1.6";
export const BIN_VERSION = "0.1.7";

type JSON =
| string
Expand Down Expand Up @@ -140,7 +140,7 @@ async function getWebViewBin(options: WebViewOptions) {

// If not in cache, download it
let url =
`https://github.com/zephraph/webview/releases/download/v${BIN_VERSION}/deno-webview`;
`https://github.com/zephraph/webview/releases/download/webview-v${BIN_VERSION}/deno-webview`;
switch (Deno.build.os) {
case "darwin": {
url += "-mac" + flags;
Expand Down

0 comments on commit 075dac3

Please sign in to comment.