Skip to content

Commit b05a5a7

Browse files
committed
link to the documentation of the latest version in actionlint.1
1 parent cb01d47 commit b05a5a7

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

man/actionlint.1.ronn

+9-10
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ with Go template syntax.
5959
Enable debug output (for development)
6060

6161
* `-format` <FORMAT>:
62-
Custom template to format error messages in Go template syntax. See
63-
https://github.com/rhysd/actionlint/tree/main/docs/usage.md#format
62+
Custom template to format error messages in Go template syntax. See the usage documentation
63+
for more details.
6464

6565
* `-ignore` <PATTERN>:
6666
Regular expression matching to error messages you want to ignore. This flag is repeatable. For
@@ -102,40 +102,39 @@ Documents for more details are available online.
102102

103103
### Checks
104104

105-
https://github.com/rhysd/actionlint/tree/main/docs/checks.md
105+
https://github.com/rhysd/actionlint/blob/v1.7.4/docs/checks.md
106106

107107
Full list of all checks done by actionlint with example inputs, outputs, and playground links.
108108

109109
### Installation
110110

111-
https://github.com/rhysd/actionlint/tree/main/docs/install.md
111+
https://github.com/rhysd/actionlint/blob/v1.7.4/docs/install.md
112112

113113
Installation instructions. Prebuilt binaries, Homebrew package, building from source, a Docker
114114
image, a download script (for CI) are available.
115115

116116
### Usage
117117

118-
https://github.com/rhysd/actionlint/tree/main/docs/usage.md
118+
https://github.com/rhysd/actionlint/blob/v1.7.4/docs/usage.md
119119

120120
How to use `actionlint` command locally or on GitHub Actions, the online playground, an official
121121
Docker image, and integrations with reviewdog, Problem Matchers, super-linter, pre-commit.
122122

123123
### Configuration
124124

125-
https://github.com/rhysd/actionlint/tree/main/docs/config.md
125+
https://github.com/rhysd/actionlint/blob/v1.7.4/docs/config.md
126126

127-
How to configure actionlint behavior. Currently only labels of self-hosted runners can be
128-
configured.
127+
How to configure actionlint behavior by the configuration file `actionlint.yaml`.
129128

130129
### Go API
131130

132-
https://github.com/rhysd/actionlint/tree/main/docs/api.md
131+
https://github.com/rhysd/actionlint/blob/v1.7.4/docs/api.md
133132

134133
How to use actionlint as Go library.
135134

136135
### References
137136

138-
https://github.com/rhysd/actionlint/tree/main/docs/reference.md
137+
https://github.com/rhysd/actionlint/blob/v1.7.4/docs/reference.md
139138

140139
Links to resources.
141140

scripts/bump-version.bash

+5-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ tag="v${version}"
4848
job_url='https://github.com/rhysd/actionlint/actions/workflows/release.yaml'
4949
playground_html='./playground/index.html'
5050
readme_doc='./README.md'
51+
man_ronn='./man/actionlint.1.ronn'
5152

5253
echo "Bumping up version to ${version} (tag: ${tag})"
5354

@@ -71,8 +72,11 @@ sed_ "\
7172
echo "Updating $readme_doc"
7273
sed_ "s/\/rhysd\/actionlint\/blob\/v[0-9]+\.[0-9]+\.[0-9]+\//\/rhysd\/actionlint\/blob\/v${version}\//g" "$readme_doc"
7374

75+
echo "Updating $man_ronn"
76+
sed_ "s/\/rhysd\/actionlint\/blob\/v[0-9]+\.[0-9]+\.[0-9]+\//\/rhysd\/actionlint\/blob\/v${version}\//g" "$man_ronn"
77+
7478
echo 'Creating a version bump commit and a version tag'
75-
git add "$pre_commit_hook" "$usage_doc" "$playground_html" "$readme_doc"
79+
git add "$pre_commit_hook" "$usage_doc" "$playground_html" "$readme_doc" "$man_ronn"
7680
git commit -m "bump up version to ${tag}"
7781
git tag "$tag"
7882

0 commit comments

Comments
 (0)