Skip to content

Commit

Permalink
fix(covector): getPublishedVersion command but this time it works
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed Oct 11, 2023
1 parent c9afca5 commit 24d58ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 24d58ad

Please sign in to comment.