Skip to content

Commit 16bc7ee

Browse files
Fix release go workflow
1 parent f379ac7 commit 16bc7ee

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/release-go.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,23 @@ on:
55
branches: [release/*]
66

77
jobs:
8-
publish-go:
9-
name: Create go/* tag
8+
read-version:
9+
name: Read version to release
1010
runs-on: ubuntu-latest
11+
outputs:
12+
version: ${{ steps.versions.outputs.changelog-latest-version }}
1113
steps:
1214
- uses: actions/checkout@v2
1315
- uses: cucumber/[email protected]
1416
id: versions
15-
- name: Create go/* tag
17+
18+
publish-go:
19+
name: Create go/v* tag
20+
runs-on: ubuntu-latest
21+
needs: read-version
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Create git tag
1625
run: |
17-
git tag "go/${{ steps.versions.outputs.changelog-latest-version }}"
26+
git tag "go/v${{ needs.read-version.outputs.version }}"
1827
git push --tags

0 commit comments

Comments
 (0)