Skip to content

Commit

Permalink
fix: gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero committed May 30, 2023
1 parent cc6aa5d commit f61b7f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,15 @@ jobs:
tag=${{ steps.next_tag.outputs.tag }}
echo "version=${tag:1}" >> $GITHUB_OUTPUT
- name: Git config and pull
- name: Update with latest main branch
run: |
git config --local user.email "$(git log --format='%ae' HEAD^!)"
git config --local user.name "$(git log --format='%an' HEAD^!)"
git config pull.rebase true
git stash
git fetch origin main
git pull origin main
git stash pop || true
- name: Set up Go
uses: actions/setup-go@v3
Expand Down

0 comments on commit f61b7f7

Please sign in to comment.