Skip to content

Commit

Permalink
ci: clone the repository before tagging (#5208)
Browse files Browse the repository at this point in the history
Clone the repository in the release workflow otherwise we cannot create
tags.
  • Loading branch information
ferrarimarco committed Jan 31, 2024
1 parent ff5037c commit 5c67776
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ jobs:
ghcr.io/super-linter/super-linter:slim-${{ env.SEMVER_MAJOR_VERSION }}
ghcr.io/super-linter/super-linter:slim-${{ env.RELEASE_VERSION }}
- uses: actions/checkout@v4
with:
fetch-depth: 0

# No need to tag major.minor.patch because that tag is automatically created when creating the release
- name: Tag major, minor, and latest versions
if: steps.release.outputs.release_created
Expand Down

0 comments on commit 5c67776

Please sign in to comment.