Skip to content

Commit

Permalink
ci: Fix renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Mar 10, 2024
1 parent 0faecd8 commit fe0412e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
runs-on: ${{ matrix.vm }}
env:
release_name: 'gazer-${{ github.ref_name }}_${{ matrix.name }}'
release_name: 'age-${{ github.ref_name }}_${{ matrix.name }}'
strategy:
matrix:
include:
Expand All @@ -30,12 +30,12 @@ jobs:
if: runner.os != 'Windows'
run: |
mkdir -p dist/$release_name
cp README.md LICENSE target/release/gazer dist/$release_name
cp README.md LICENSE target/release/age dist/$release_name
- name: 'Collect release items (windows)'
if: runner.os == 'Windows'
run: |
mkdir -p dist/$env:release_name
Copy-Item -Path README.md,LICENSE,target/release/gazer.exe -Destination dist/$env:release_name
Copy-Item -Path README.md,LICENSE,target/release/age.exe -Destination dist/$env:release_name
- name: 'Make archive'
uses: thedoctor0/zip-release@master
with:
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: ncipollo/release-action@v1
with:
artifacts: 'dist/*'
body: 'See https://github.com/attakei-lab/gazer/blob/main/CHANGELOG.md'
body: 'See https://github.com/attakei-lab/age/blob/main/CHANGELOG.md'
draft: false
name: Release ${{ github.ref_name }}
tag: ${{ github.ref }}
Expand Down

0 comments on commit fe0412e

Please sign in to comment.