Skip to content

Commit

Permalink
Merge pull request #2281 from mboersma/fix-link
Browse files Browse the repository at this point in the history
Handle compression at docs.github.com when checking markdown links
  • Loading branch information
k8s-ci-robot authored May 3, 2022
2 parents 9c74c71 + df0afc2 commit 194722a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .markdownlinkcheck.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"ignorePatterns": [{
"pattern": "^https://calendar.google.com/calendar"
}],
"httpHeaders": [{
"comment": "Workaround as suggested here: https://github.com/tcort/markdown-link-check/issues/201",
"urls": ["https://docs.github.com/"],
"headers": {
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}],
"timeout": "5s",
"retryOn429": true,
"retryCount": 5,
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/developers/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- Create tag with git
- `export RELEASE_TAG=v1.2.3` (the tag of the release to be cut)
- `git tag -s ${RELEASE_TAG} -m "${RELEASE_TAG}"`
- `-s` creates a signed tag, you must have a GPG key [added to your GitHub account](https://docs.github.com/en/enterprise/2.16/user/github/authenticating-to-github/generating-a-new-gpg-key)
- `-s` creates a signed tag, you must have a GPG key [added to your GitHub account](https://docs.github.com/en/authentication/managing-commit-signature-verification/adding-a-new-gpg-key-to-your-github-account)
- `git push upstream ${RELEASE_TAG}`

This will automatically trigger a [Github Action](https://github.com/kubernetes-sigs/cluster-api-provider-azure/actions) to create a draft release.
Expand Down

0 comments on commit 194722a

Please sign in to comment.