Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
a7fb66e8
Unverified
Commit
a7fb66e8
authored
2 years ago
by
David Robertson
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update dead links in check-newsfragment.sh (#12331)
parent
19a1d6a4
No related branches found
No related tags found
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
...
@@ -19,7 +19,7 @@ if ! git diff --quiet FETCH_HEAD... -- debian; then
if
git diff
--quiet
FETCH_HEAD...
--
debian/changelog
;
then
if
git diff
--quiet
FETCH_HEAD...
--
debian/changelog
;
then
echo
"Updates to debian directory, but no update to the changelog."
>
&2
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
"!! 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
exit
1
fi
fi
fi
fi
...
@@ -32,7 +32,7 @@ fi
...
@@ -32,7 +32,7 @@ fi
# Print a link to the contributing guide if the user makes a mistake
# 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:
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
# 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
)
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