Skip to content

Commit 8e8104b

Browse files
authored
Merge pull request #997 from voxpupuli/tak-tak-tak
explicitly checkout ${{ github.ref }} when doing a release
2 parents a82038c + 6e4c95d commit 8e8104b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/update.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ jobs:
2929
# when provided, it configures the ssh/git config to authenticate automatically with that key to the source repo
3030
# the authentication won't be used for other repos (which we need for msync), so we cannot use the option
3131
# that's the reason for the 'Add SSH key' step
32+
#
33+
# the "ref: github.ref" is required for the tag to be properly checked out, as a workaround
34+
# for https://github.com/actions/checkout/issues/1638
3235
uses: actions/checkout@v5
3336
with:
3437
fetch-depth: 0
3538
fetch-tags: true
39+
ref: ${{ github.ref }}
3640
- name: Setup ruby
3741
uses: ruby/setup-ruby@v1
3842
with:

0 commit comments

Comments
 (0)