Skip to content

Commit

Permalink
ci/publish: fix executable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Dec 16, 2020
1 parent 45a4e28 commit 68d2316
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ jobs:
version=$(basename ${{ github.ref }})
name="cntr-$version"
depsname="cntr-src-$version"
install -D target/${{ matrix.target }}/release/cntr dist/$name/cntr
install -D target/${{ matrix.target }}/release/cntr dist/cntr-bin-$version-$target
install -D target/${{ matrix.target }}/release/cntr dist/cntr-bin-$version-${{ matrix.target }}
mkdir $depsname
git archive HEAD | tar -x -C $depsname
cargo vendor
mv vendor $depsname/
tar czvf dist/$depsname.tar.gz $depsname
tar -czvf dist/$depsname.tar.gz $depsname
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit 68d2316

Please sign in to comment.