Skip to content

Commit

Permalink
Fix name of released binary distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
timbod7 committed Mar 14, 2020
1 parent 010bde5 commit 0671e39
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: New release
on:
push:
tags:
- v*
- v[0-9]*

jobs:
build:
Expand Down Expand Up @@ -44,6 +44,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Determine version
id: version
run: "echo ::set-output name=version::${GITHUB_REF:11}"

- name: Create Release
id: create_release
uses: actions/create-release@v1.0.0
Expand All @@ -54,7 +58,7 @@ jobs:
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Fetch macOS build
uses: actions/download-artifact@v1
with:
Expand All @@ -74,7 +78,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist-macOS/adl-bindist.zip
asset_name: adl-bindist-${{ github.ref }}-osx.zip
asset_name: adl-bindist-${{ steps.version.outputs.version }}-osx.zip
asset_content_type: application/zip

- name: Upload linux build
Expand All @@ -84,5 +88,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist-linux/adl-bindist.zip
asset_name: adl-bindist-${{ github.ref }}-linux.zip
asset_name: adl-bindist-${{ steps.version.outputs.version }}-linux.zip
asset_content_type: application/zip

0 comments on commit 0671e39

Please sign in to comment.