parent
3249f14dab
commit
fa04df838c
|
@ -7,6 +7,9 @@ on:
|
|||
description: "Version number"
|
||||
required: true
|
||||
|
||||
env:
|
||||
VERSION: ${{ github.event.inputs.version_number }}
|
||||
|
||||
jobs:
|
||||
run_tests:
|
||||
name: Run tests
|
||||
|
@ -36,8 +39,6 @@ jobs:
|
|||
git_tag_gpgsign: true
|
||||
git_push_gpgsign: false
|
||||
- name: Tag release
|
||||
env:
|
||||
VERSION: ${{ github.event.inputs.version_number }}
|
||||
run: |
|
||||
DATE=`date "+%Y-%m-%d"`
|
||||
COMMIT_MESSAGE="[ci skip] Set release date"
|
||||
|
@ -48,3 +49,8 @@ jobs:
|
|||
git commit -m "$COMMIT_MESSAGE"
|
||||
git tag "v$VERSION" -m "$TAG_MESSAGE"
|
||||
git push && git push --tags
|
||||
- name: Publish release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: "v${{ env.VERSION }}"
|
||||
generate_release_notes: true
|
||||
|
|
Loading…
Reference in New Issue