Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
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
Model registry
Operate
Environments
Monitor
Incidents
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
bob
bob.devtools
Commits
d996413d
Commit
d996413d
authored
3 years ago
by
André Anjos
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-78' into 'master'
Fix readme updates Closes
#78
See merge request
!235
parents
f7e2c9b1
94a7470a
No related branches found
No related tags found
1 merge request
!235
Fix readme updates
Pipeline
#52389
passed
3 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/release.py
+2
-3
2 additions, 3 deletions
bob/devtools/release.py
with
2 additions
and
3 deletions
bob/devtools/release.py
+
2
−
3
View file @
d996413d
...
...
@@ -106,9 +106,8 @@ def _update_readme(readme, version):
replacement
=
"
/v%s
"
%
version
if
version
is
not
None
else
"
/master
"
line
=
BRANCH_RE
.
sub
(
replacement
,
line
)
if
(
"
software/bob
"
in
line
)
or
(
"
software/beat
"
in
line
):
# our doc server
if
"
master
"
not
in
line
:
# don't replace 'latest' pointer
replacement
=
"
/v%s
"
%
version
if
version
is
not
None
else
"
/stable
"
line
=
BRANCH_RE
.
sub
(
replacement
,
line
)
replacement
=
"
/v%s
"
%
version
if
version
is
not
None
else
"
/stable
"
line
=
BRANCH_RE
.
sub
(
replacement
,
line
)
if
DOC_IMAGE
.
search
(
line
)
is
not
None
:
replacement
=
"
-v%s-
"
%
version
if
version
is
not
None
else
"
-stable-
"
line
=
DOC_IMAGE
.
sub
(
replacement
,
line
)
...
...
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