mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 07:42:13 -05:00
Checkout code before tagging (#3382)
This commit is contained in:
parent
489166b2a3
commit
be49e014f8
1 changed files with 6 additions and 0 deletions
6
.github/workflows/deploy-release.yml
vendored
6
.github/workflows/deploy-release.yml
vendored
|
@ -79,6 +79,12 @@ jobs:
|
||||||
ghcr.io/github/super-linter:${{ matrix.images.container-image-id-prefix }}v4
|
ghcr.io/github/super-linter:${{ matrix.images.container-image-id-prefix }}v4
|
||||||
ghcr.io/github/super-linter:${{ matrix.images.container-image-id-prefix }}${{ env.RELEASE_VERSION }}
|
ghcr.io/github/super-linter:${{ matrix.images.container-image-id-prefix }}${{ env.RELEASE_VERSION }}
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
# Full git history is needed to get a proper list of commits and tags
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
# We use ^{} to recursively deference the tag to get the commit the tag is pointing at.
|
# We use ^{} to recursively deference the tag to get the commit the tag is pointing at.
|
||||||
# Then, we use that reference to create new tags, so that the new tags point to the commit
|
# Then, we use that reference to create new tags, so that the new tags point to the commit
|
||||||
# the original tag was pointing to, and not to the original tag.
|
# the original tag was pointing to, and not to the original tag.
|
||||||
|
|
Loading…
Reference in a new issue