2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-03 15:40:19 +00:00

Update rust_create_release.yml

This commit is contained in:
Revertron 2021-02-23 15:07:33 +01:00 committed by GitHub
parent 483d8f7a02
commit 215a328a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,8 @@ jobs:
uses: actions/checkout@v2
- name: Getting version
run: |
VERSION=$(cat Cargo.toml | grep version | sed s/version//g | sed s/=//g | sed s/\"//g | sed s/\ //g | sed -n 1p)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "VERSION=$(cat Cargo.toml | grep version | sed s/version//g | sed s/=//g | sed s/\"//g | sed s/\ //g | sed -n 1p)" >> $GITHUB_ENV
echo "Version is ${{ env.VERSION }}"
make_release:
name: Create Release
@ -35,7 +35,7 @@ jobs:
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ needs.get_version.outputs.version }}
VERSION: ${{ needs.get_version.outputs.project_version }}
with:
tag_name: v${{ env.VERSION }}
release_name: Test version v${{ env.VERSION }}