Skip to content

Commit

Permalink
Merge pull request #7 from nsarlin-zama/rebase_version_on_main
Browse files Browse the repository at this point in the history
test fix
  • Loading branch information
nsarlin-zama authored Oct 8, 2024
2 parents b9cbbb9 + c884419 commit b60f5b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/on_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
fetch-depth: 0

- name: Get branch for the latest version
run: echo "DATA_LATEST_VERSION=$(git for-each-ref --format='%(refname:short)' refs/heads | grep -Po '^v\d.\d(.\d)?$' | sort -V | tail -n 1)" >> $GITHUB_ENV
run: |
echo $(git for-each-ref --format='%(refname:short)' refs/heads | grep -Po '^v\d.\d(.\d)?$' | sort -V | tail -n 1)
echo "DATA_LATEST_VERSION=$(git for-each-ref --format='%(refname:short)' refs/heads | grep -Po '^v\d.\d(.\d)?$' | sort -V | tail -n 1)" >> $GITHUB_ENV
- name: Rebase and push
run: |
Expand Down

0 comments on commit b60f5b1

Please sign in to comment.