Skip to content

Commit

Permalink
change release name and tags name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rovel committed Feb 14, 2024
1 parent 3916876 commit 9368353
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9368353

Please sign in to comment.