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-03-31 13:47:56 +02:00 committed by GitHub
parent e01f3e5e10
commit 18d6fe11fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,6 @@
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
tags: v[0-9].[0-9]+.[0-9]+
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -20,8 +18,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Getting version
run: |
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
run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
make_release:
name: Create Release
@ -42,8 +39,8 @@ jobs:
tag_name: v${{ env.VERSION }}
release_name: Test version v${{ env.VERSION }}
body: |
Changes in this version
To be written by maintainer.
## A new version
* Various fixes and stability improvements.
draft: true
prerelease: true