From 86ff7d16712498442a9578ee6911a22c3eb29d8f Mon Sep 17 00:00:00 2001 From: mikhail-klimko Date: Fri, 29 Sep 2023 18:18:29 +0300 Subject: [PATCH] ci: add release-drafter --- .github/workflows/draft-release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index 10c6f4b..f63c45c 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -16,12 +16,12 @@ jobs: with: fetch-depth: 0 - - name: Set up YQ - uses: frenck/action-setup-yq@v1 + - name: Set up jq + uses: dcarbone/install-jq-action@v1.0.1 - name: Get release version from service.yaml run: | - RELEASE_VERSION=$(yq eval '.version' service.yaml ) + RELEASE_VERSION=$(jq -r '.version' package.json ) echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV - uses: release-drafter/release-drafter@v5