Skip to content

Commit 70333a4

Browse files
authored
feat: simplify release.yml (#116)
1 parent f273f15 commit 70333a4

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ on:
77
description: 'Release tag (e.g. v5.99.0)'
88
required: true
99
type: string
10-
commit:
11-
description: 'Target commit SHA or branch'
12-
required: true
13-
type: string
14-
1510
permissions:
1611
contents: write
1712
pull-requests: write
@@ -21,7 +16,6 @@ jobs:
2116
runs-on: ubuntu-latest
2217
env:
2318
TAG: ${{ inputs.tag }}
24-
COMMIT: ${{ inputs.commit }}
2519

2620
steps:
2721
- name: Checkout
@@ -40,8 +34,7 @@ jobs:
4034
shell: bash
4135
run: |
4236
set -euo pipefail
43-
node scripts/update-versions.mjs "$TAG"
44-
echo "$COMMIT" > HEAD_COMMIT
37+
node scripts/update-versions.mjs "$TAG"
4538
4639
- name: Open pull request
4740
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -50,6 +43,6 @@ jobs:
5043
commit-message: 'chore: sync to webpack@${{ env.TAG }}'
5144
title: 'chore: sync to webpack@${{ env.TAG }}'
5245
body: |
53-
Automated version sync triggered by the `${{ env.TAG }}` release of `${{ env.COMMIT }}`.
46+
Automated version sync triggered by the `${{ env.TAG }}` webpack release.
5447
branch: 'update-versions'
5548
draft: true

0 commit comments

Comments
 (0)