-
-
Notifications
You must be signed in to change notification settings - Fork 268
30 lines (27 loc) · 777 Bytes
/
release.yml
File metadata and controls
30 lines (27 loc) · 777 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
# Cut a release whenever a new tag is pushed to the repo.
# You should use an annotated tag, like `git tag -a v1.2.3`
# and put the release notes into the commit message for the tag.
name: Release
on:
push:
tags:
- "*.*.*"
permissions: read-all
jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Prepare release
run: .github/workflows/release_prep.sh > release_notes.txt
- name: Release
uses: softprops/action-gh-release@v2
with:
prerelease: false
generate_release_notes: true
body_path: release_notes.txt
files: toolchains_llvm-*.tar.gz
fail_on_unmatched_files: true