We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d055bad commit c3d8bfbCopy full SHA for c3d8bfb
1 file changed
.github/workflows/release-creator.yaml
@@ -48,6 +48,12 @@ jobs:
48
MY_VAR: ${{ env.MY_VAR }}
49
run: |
50
current_version=$MY_VAR
51
+
52
+ # The latest version does not exist. Set it to v0.0.0.
53
+ if [[ "$current_version" = "null" ]]; then
54
+ current_version="v0.0.0"
55
+ fi
56
57
current_version=(${current_version#v}) # remove 'v' prefix from $current_version"
58
59
IFS='.' read -r -a version_parts <<< "$current_version"
0 commit comments