forked from icelam/random-name-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 754 Bytes
/
release.yml
File metadata and controls
32 lines (30 loc) · 754 Bytes
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
name: Create release
on:
push:
tags:
- "v*"
jobs:
release:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node.js version
uses: actions/setup-node@main
with:
node-version-file: ".nvmrc"
- name: Generate release body
run: |
yarn extract-latest-change-log
- name: Create release
id: create-release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
body_path: RELEASE_BODY.md