We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f379ac7 commit 16bc7eeCopy full SHA for 16bc7ee
.github/workflows/release-go.yml
@@ -5,14 +5,23 @@ on:
5
branches: [release/*]
6
7
jobs:
8
- publish-go:
9
- name: Create go/* tag
+ read-version:
+ name: Read version to release
10
runs-on: ubuntu-latest
11
+ outputs:
12
+ version: ${{ steps.versions.outputs.changelog-latest-version }}
13
steps:
14
- uses: actions/checkout@v2
15
- uses: cucumber/[email protected]
16
id: versions
- - 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
25
run: |
- git tag "go/${{ steps.versions.outputs.changelog-latest-version }}"
26
+ git tag "go/v${{ needs.read-version.outputs.version }}"
27
git push --tags
0 commit comments