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:
parent
483d8f7a02
commit
215a328a9d
6
.github/workflows/rust_create_release.yml
vendored
6
.github/workflows/rust_create_release.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user