From 4aaf6233dad8171262ef5228d838a1de478cbc15 Mon Sep 17 00:00:00 2001 From: Nemental <15136847+Nemental@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:06:21 +0100 Subject: [PATCH] ci: update galaxy.yml version --- .releaserc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.releaserc b/.releaserc index 9b0c8bd..de12f5c 100644 --- a/.releaserc +++ b/.releaserc @@ -5,10 +5,13 @@ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", - "@semantic-release/github", - "@semantic-release/git", ["@semantic-release/exec", { - "verifyReleaseCmd": "echo \"version=${nextRelease.version}\" >> $GITHUB_OUTPUT" + "prepareCmd": "yq -i '.version = \"${nextRelease.version}\"' galaxy.yml", + "successCmd": "echo \"version=${nextRelease.version}\" >> $GITHUB_OUTPUT" + }], + "@semantic-release/github", + ["@semantic-release/git", { + "assets": ["CHANGELOG.md", "galaxy.yml"] }] ] }