Skip to content

Commit

Permalink
fix: pull main before semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo4diani committed Aug 13, 2023
1 parent ccd7cdb commit 03d3343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ runs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ inputs.main-branch }}

- name: Check release status
id: release-status
Expand All @@ -66,6 +65,7 @@ runs:
env:
GH_TOKEN: ${{ inputs.github-token }}
run: |
git pull --no-rebase origin main
semantic-release version
git fetch --tags
for file in ./dist/**
Expand Down

0 comments on commit 03d3343

Please sign in to comment.