Skip to content

Commit ad19e81

Browse files
Branch fix bug (#531)
1 parent ed44c1c commit ad19e81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- name: Check if latest version
4343
id: get_version
4444
run: |
45-
# Get raw version from release tag
46-
RAW_VERSION="${{ github.event.release.tag_name }}"
45+
# Get raw version from release branch
46+
RAW_VERSION="${{ github.event.workflow_run.head_branch }}"
4747
echo "Raw version from tag_name is: $RAW_VERSION"
4848
4949
# Validate tag follows convention (starts with v or V)

0 commit comments

Comments
 (0)