Skip to content

Commit ae6e76e

Browse files
committed
Pull current branch, not latest tag
1 parent 56bc36a commit ae6e76e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-packages.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929

3030
- name: Checkout and pull branch
3131
run: |
32-
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
33-
git checkout $LATEST_TAG
32+
git checkout ${{ github.ref_name }}
33+
git pull origin ${{ github.ref_name }}
3434
3535
- name: Setup pnpm
3636
uses: pnpm/action-setup@v2

0 commit comments

Comments
 (0)