Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
a7fb66e8
Unverified
Commit
a7fb66e8
authored
3 years ago
by
David Robertson
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update dead links in check-newsfragment.sh (#12331)
parent
19a1d6a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/12331.doc
+1
-0
1 addition, 0 deletions
changelog.d/12331.doc
scripts-dev/check-newsfragment.sh
+2
-2
2 additions, 2 deletions
scripts-dev/check-newsfragment.sh
with
3 additions
and
2 deletions
changelog.d/12331.doc
0 → 100644
+
1
−
0
View file @
a7fb66e8
Update dead links in `check-newsfragment.sh` to point to the correct documentation URL.
This diff is collapsed.
Click to expand it.
scripts-dev/check-newsfragment.sh
+
2
−
2
View file @
a7fb66e8
...
...
@@ -19,7 +19,7 @@ if ! git diff --quiet FETCH_HEAD... -- debian; then
if
git diff
--quiet
FETCH_HEAD...
--
debian/changelog
;
then
echo
"Updates to debian directory, but no update to the changelog."
>
&2
echo
"!! Please see the contributing guide for help writing your changelog entry:"
>
&2
echo
"https://
github.com/
matrix-org/synapse/
blob
/develop
/CONTRIBUTING.md
#debian-changelog"
>
&2
echo
"https://matrix-org
.github.io
/synapse/
latest
/develop
ment/contributing_guide.html
#debian-changelog"
>
&2
exit
1
fi
fi
...
...
@@ -32,7 +32,7 @@ fi
# Print a link to the contributing guide if the user makes a mistake
CONTRIBUTING_GUIDE_TEXT
=
"!! Please see the contributing guide for help writing your changelog entry:
https://
github.com/
matrix-org/synapse/
blob
/develop
/CONTRIBUTING.md
#changelog"
https://matrix-org
.github.io
/synapse/
latest
/develop
ment/contributing_guide.html
#changelog"
# If check-newsfragment returns a non-zero exit code, print the contributing guide and exit
python
-m
towncrier.check
--compare-with
=
origin/develop
||
(
echo
-e
"
$CONTRIBUTING_GUIDE_TEXT
"
>
&2
&&
exit
1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment