parent
3249f14dab
commit
fa04df838c
|
@ -7,6 +7,9 @@ on:
|
||||||
description: "Version number"
|
description: "Version number"
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
VERSION: ${{ github.event.inputs.version_number }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run_tests:
|
run_tests:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
|
@ -36,8 +39,6 @@ jobs:
|
||||||
git_tag_gpgsign: true
|
git_tag_gpgsign: true
|
||||||
git_push_gpgsign: false
|
git_push_gpgsign: false
|
||||||
- name: Tag release
|
- name: Tag release
|
||||||
env:
|
|
||||||
VERSION: ${{ github.event.inputs.version_number }}
|
|
||||||
run: |
|
run: |
|
||||||
DATE=`date "+%Y-%m-%d"`
|
DATE=`date "+%Y-%m-%d"`
|
||||||
COMMIT_MESSAGE="[ci skip] Set release date"
|
COMMIT_MESSAGE="[ci skip] Set release date"
|
||||||
|
@ -48,3 +49,8 @@ jobs:
|
||||||
git commit -m "$COMMIT_MESSAGE"
|
git commit -m "$COMMIT_MESSAGE"
|
||||||
git tag "v$VERSION" -m "$TAG_MESSAGE"
|
git tag "v$VERSION" -m "$TAG_MESSAGE"
|
||||||
git push && git push --tags
|
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