|
|
|
@ -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 }}
|
|
|
|
|