Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vicsn committed Mar 4, 2024
1 parent 274c1ac commit db6033e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
mkdir tempdir
mv target/release/snarkos tempdir
cd tempdir
zip -r aleo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-gnu.zip snarkos
zip -r snarkos-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-gnu.zip snarkos
cd ..
mv tempdir/aleo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-gnu.zip .
mv tempdir/snarkos-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-gnu.zip .
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
aleo-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-gnu.zip
snarkos-${{ steps.get_version.outputs.version }}-x86_64-unknown-linux-gnu.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -75,16 +75,16 @@ jobs:
mkdir tempdir
mv target/release/snarkos tempdir
cd tempdir
zip -r aleo-${{ steps.get_version.outputs.version }}-x86_64-apple-darwin.zip snarkos
zip -r snarkos-${{ steps.get_version.outputs.version }}-x86_64-apple-darwin.zip snarkos
cd ..
mv tempdir/aleo-${{ steps.get_version.outputs.version }}-x86_64-apple-darwin.zip .
mv tempdir/snarkos-${{ steps.get_version.outputs.version }}-x86_64-apple-darwin.zip .
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
aleo-${{ steps.get_version.outputs.version }}-x86_64-apple-darwin.zip
snarkos-${{ steps.get_version.outputs.version }}-x86_64-apple-darwin.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -122,13 +122,13 @@ jobs:

- name: Zip
run: |
Compress-Archive target/release/snarkos.exe aleo-${{ steps.get_version.outputs.version }}-x86_64-pc-windows-msvc.zip
Compress-Archive target/release/snarkos.exe snarkos-${{ steps.get_version.outputs.version }}-x86_64-pc-windows-msvc.zip
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
aleo-${{ steps.get_version.outputs.version }}-x86_64-pc-windows-msvc.zip
snarkos-${{ steps.get_version.outputs.version }}-x86_64-pc-windows-msvc.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit db6033e

Please sign in to comment.