diff options
| author | Dax Raad <[email protected]> | 2025-07-13 22:58:33 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-07-13 22:58:33 -0400 |
| commit | 67e9bda94f39cb98dfc0ded54af7a05e4f8ec16d (patch) | |
| tree | 337ce1695f7120730ca43987970a2fed2620538b | |
| parent | 53bb6b4c4f63d9336dfea1a76fe0f0f9c62b88e7 (diff) | |
| download | opencode-67e9bda94f39cb98dfc0ded54af7a05e4f8ec16d.tar.gz opencode-67e9bda94f39cb98dfc0ded54af7a05e4f8ec16d.zip | |
ci
| -rwxr-xr-x | packages/opencode/script/publish.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/script/publish.ts b/packages/opencode/script/publish.ts index 53332d20f..08e042d7f 100755 --- a/packages/opencode/script/publish.ts +++ b/packages/opencode/script/publish.ts @@ -9,7 +9,7 @@ const snapshot = process.argv.includes("--snapshot") const version = snapshot ? `0.0.0-${new Date().toISOString().slice(0, 16).replace(/[-:T]/g, "")}` - : await $`git describe --tags --exact-match HEAD` + : await $`git describe --tags --abbrev=0` .text() .then((x) => x.substring(1).trim()) .catch(() => { |
