Skip to content

Commit f1a2652

Browse files
authored
improved and enhanced release flow (#209)
* improved and enhanced release flow * set master version to `99.99.99`
1 parent 05ab1d2 commit f1a2652

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414

1515
- name: get version from tag
1616
id: get_version
17-
run: | # People report that sometimes GITHUB_REF_NAME is empty, so we check for that and fail if so.
18-
[[ -n $GITHUB_REF_NAME ]] && echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
17+
env:
18+
TAG: ${{ github.event.release.tag_name }}
19+
run: echo "VERSION=${TAG#v}" >> $GITHUB_OUTPUT
1920

2021
- name: Set the version for publishing
2122
uses: ciiiii/[email protected]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "RLTest"
3-
version = "0.7.4"
3+
version = "99.99.99"
44
description="Redis Modules Test Framework, allow to run tests on redis and modules on a variety of environments"
55
authors = ["Redis, Inc. <[email protected]>"]
66
license = "BSD-3-Clause"

0 commit comments

Comments
 (0)