Skip to content

Commit 962f10c

Browse files
committed
Ci: Propagate draft release version to package publishing
1 parent ae696de commit 962f10c

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/publish-attested.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Publish Attested
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: Release version without the leading "v"
8+
required: false
9+
type: string
510

611
permissions:
712
contents: write
@@ -12,6 +17,8 @@ permissions:
1217
jobs:
1318
publish:
1419
uses: ./.github/workflows/publish-artifacts.yml
20+
with:
21+
package_version: ${{ inputs.version }}
1522

1623
release:
1724
name: Upload artifacts to draft release

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
publish:
3838
needs: update-release-draft
3939
uses: ./.github/workflows/publish-artifacts.yml
40+
with:
41+
package_version: ${{ needs.update-release-draft.outputs.tag_name }}
4042

4143
upload-release-assets:
4244
name: Upload artifacts to release draft

0 commit comments

Comments
 (0)