From 9368353978351bc3b9c751704f4134d0e8ab7123 Mon Sep 17 00:00:00 2001 From: Filipe Veloso Date: Wed, 14 Feb 2024 01:02:19 -0300 Subject: [PATCH] change release name and tags name --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b136168..44f5cdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,14 +64,18 @@ jobs: with: name: ${{ matrix.target }} path: target/${{ matrix.target }}/release/ + - name: Set env + run: | + echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV + echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v1.0.0 - release_name: Release ${{ matrix.target }} + tag_name: ${{ env.TAG }} + release_name: ${{ env.BRANCH }}-${{ matrix.target }} body: | Changes in this Release draft: false