mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-17 16:38:14 +03:00
Nicer name?
This commit is contained in:
parent
d8410f4000
commit
e43f4eb93d
14
.github/workflows/release_linux.yml
vendored
14
.github/workflows/release_linux.yml
vendored
@ -10,11 +10,15 @@ jobs:
|
||||
name: Create Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get tag name
|
||||
id: get_tag_name
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build and zip
|
||||
run: ./release.sh ${{ github.ref }} --noprompt
|
||||
run: ./release.sh ${{ steps.get_tag_name.outputs.VERSION }} --noprompt
|
||||
|
||||
- name: Create Github Release
|
||||
id: create_release
|
||||
@ -22,8 +26,8 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
tag_name: ${{ steps.get_tag_name.outputs.VERSION }}
|
||||
release_name: Release ${{ steps.get_tag_name.outputs.VERSION }}
|
||||
body: |
|
||||
This is a release of the Carp compiler on Linux.
|
||||
draft: false
|
||||
@ -36,6 +40,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./releases/${{ github.ref }}.zip
|
||||
asset_name: ${{ github.ref }}.zip
|
||||
asset_path: ./releases/${{ steps.get_tag_name.outputs.VERSION }}.zip
|
||||
asset_name: ${{ steps.get_tag_name.outputs.VERSION }}.zip
|
||||
asset_content_type: application/zip
|
||||
|
Loading…
Reference in New Issue
Block a user