Skip to content

Commit

Permalink
test branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Jul 4, 2024
1 parent 6d7e500 commit 34bcefa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
- name: Determine new version
id: new_version
run: |
echo "the branch is ${{ steps.branch_name.outputs.branch }}"
# Get the most recent tag in the format relayer-<branchname>-<version>
current_version=$(git tag --list "relayer-${{ steps.branch_name.outputs.branch }}-*" --sort=-v:refname | head -n 1 | sed -E 's/relayer-${{ steps.branch_name.outputs.branch }}-//')
echo "Current version: $current_version"
Expand Down

0 comments on commit 34bcefa

Please sign in to comment.