Skip to content

Commit b16ac61

Browse files
authored
add release version (#13)
Signed-off-by: Francisco Vila <[email protected]>
1 parent 024d4bb commit b16ac61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pythonkafkaclient.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ jobs:
4848
run: |
4949
REPO_RELEASE=${{ github.ref_name }}
5050
echo "RELEASE_VERSION=${REPO_RELEASE}" >> $GITHUB_ENV
51+
- name: 'Set release version from latest tag'
52+
if: ${{ ! contains(github.ref, 'tag') }}
53+
run: |
54+
REPO_RELEASE=${{ steps.pythonKafkaClientRelease.outputs.release }}
55+
echo "RELEASE_VERSION=${REPO_RELEASE}" >> $GITHUB_ENV
5156
- name: 'Check out repository from latest tag'
5257
uses: actions/checkout@v6
5358
with:

0 commit comments

Comments
 (0)