Skip to content

Commit d092973

Browse files
committed
Chore: follow release naming convention from qlcplus repo
1 parent 5710ee9 commit d092973

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create Release
1+
name: Release
22

33
on:
44
push:
@@ -17,35 +17,12 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20-
# Extract the version from the tag
20+
2121
- name: Set version from tag
2222
id: set_version
2323
run: |
2424
VERSION=${GITHUB_REF#refs/tags/}
2525
echo "::set-output name=version::$VERSION"
26-
- name: Get previous tag
27-
id: prev_tag
28-
run: |
29-
PREV_TAG=$(git describe --tags --abbrev=0 HEAD^1)
30-
echo "::set-output name=prev_tag::$PREV_TAG"
31-
32-
#- name: Get closed PRs
33-
# id: closed_prs
34-
# uses: actions/github-script@v6
35-
# with:
36-
# github-token:
37-
# script: |
38-
# const prs = await github.paginate(github.pulls.list, {
39-
# owner: context.repo.owner,
40-
# repo: context.repo.repo,
41-
# state: 'closed',
42-
# sort: 'updated',
43-
# direction: 'desc',
44-
# per_page: 100
45-
# });
46-
# const closedPRs = prs.filter(pr => pr.merged_at && new Date(pr.merged_at) > new Date(context.payload.commits[0].timestamp));
47-
# const prList = closedPRs.map(pr => `- ${pr.title} (#${pr.number})`).join("\n");
48-
# core.setOutput("pr_list", prList);
4926
5027
- name: Install PowerShell
5128
run: |
@@ -77,7 +54,7 @@ jobs:
7754
with:
7855
draft: false
7956
prerelease: false
80-
release_name: Release ${{ steps.set_version.outputs.version }}
57+
release_name: QLC+ ${{ steps.set_version.outputs.version }}
8158
tag_name: ${{ github.ref }}
8259
body: |
8360
##

0 commit comments

Comments
 (0)