-
-
Notifications
You must be signed in to change notification settings - Fork 119
33 lines (29 loc) · 1.03 KB
/
release.yml
File metadata and controls
33 lines (29 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Release
on:
push:
tags:
- '[0-9]*.[0-9]*.[0-9]*'
workflow_dispatch:
inputs:
version:
description: 'Release version for manual testing'
required: false
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: Element v${{ github.event.inputs.version || github.ref_name }}
tag_name: ${{ github.event.inputs.version || github.ref_name }}
body: |
**Element ${{ github.event.inputs.version || github.ref_name }} is now available!**
For a list of notable changes, see the [CHANGELOG](https://github.com/${{ github.repository }}/blob/${{ github.event.inputs.version || github.ref_name }}/CHANGELOG.md).
Please see the release notes below for details on what's changed.
draft: true
generate_release_notes: true
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}