Skip to content

Commit 78c4c69

Browse files
author
Heiko Kiesel
committed
Add explanations for fetch-depth and ref attributes
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent 3c38f0a commit 78c4c69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v3 # TODO: with... bot?
2525
with:
26-
fetch-depth: 0
26+
fetch-depth: 0 # Due to https://axion-release-plugin.readthedocs.io/en/latest/configuration/ci_servers/#github-actions
2727

2828
- name: "Fetch git tags" # Required for axion-release-plugin
2929
run: git fetch --tags
@@ -65,8 +65,8 @@ jobs:
6565
- name: Checkout repository
6666
uses: actions/checkout@v3
6767
with:
68-
fetch-depth: 0
69-
ref: refs/tags/${{ needs.github.outputs.VERSION }}
68+
fetch-depth: 0 # Due to https://axion-release-plugin.readthedocs.io/en/latest/configuration/ci_servers/#github-actions
69+
ref: refs/tags/${{ needs.github.outputs.VERSION }} # Checkout the new created tag
7070

7171
- name: "Fetch git tags" # Required for axion-release-plugin
7272
run: git fetch --tags

0 commit comments

Comments
 (0)