From 24d58ade751f6a64a21a8b6c1fb677a5fe07bc0e Mon Sep 17 00:00:00 2001 From: Krzysztof Saczuk Date: Wed, 11 Oct 2023 19:01:16 +0200 Subject: [PATCH] fix(covector): getPublishedVersion command but this time it works --- .changes/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changes/config.json b/.changes/config.json index 4b20812..0a4da8e 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -4,7 +4,7 @@ "rust": { "version": true, "publish": "echo Publishing version ${ pkgFile.version } to GitHub releases", - "getPublishedVersion": "curl -s -L -H \"Accept: application/vnd.github+json\" -H \"X-GitHub-Api-Version: 2022-11-28\" \"https://api.github.com/repos/zakuciael/${ pkg.pkg }/releases?per_page=5\" | jq -r 'if . | length == 0 then . else .[0].tag_name | match(\"(?:v)(\\\\d\\\\.\\\\d\\.\\\\d)\"; \"g\") | .captures[0].string end'", + "getPublishedVersion": "curl -s -L -H \"Accept: application/vnd.github+json\" -H \"X-GitHub-Api-Version: 2022-11-28\" \"https://api.github.com/repos/zakuciael/${ pkg.pkg }/releases?per_page=5\" | jq -r 'if . | length == 0 then . else .[0].tag_name | ltrimstr(\"v\") end'", "postpublish": [ "git tag v${ pkgFile.version }", "git push --tags"