Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
ea51bec2
Commit
ea51bec2
authored
6 years ago
by
Pavel KORSHUNOV
Browse files
Options
Downloads
Patches
Plain Diff
small bug fix
parent
da1cf9c3
No related branches found
No related tags found
1 merge request
!85
Correcting release script: sorting tags, corrected version bump, updated help docs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
release/release_bob.py
+1
-1
1 addition, 1 deletion
release/release_bob.py
with
1 addition
and
1 deletion
release/release_bob.py
+
1
−
1
View file @
ea51bec2
...
...
@@ -157,7 +157,7 @@ def get_parsed_tag(gitpkg, tag):
if
'
major
'
==
tag
:
# increment the first number in 'v#.#.#' but make minor and patch to be 0
return
'
v
'
+
str
(
int
(
latest_tag_name
[
0
])
+
1
)
+
'
.0.0
'
if
'
minor
'
==
tag
:
# increment the second number in 'v#.#.#' but make patch to be 0
return
'
v
'
+
latest_tag_name
[:
2
]
+
str
(
int
(
latest_tag_name
[
3
])
+
1
)
+
'
.0
'
return
'
v
'
+
latest_tag_name
[:
2
]
+
str
(
int
(
latest_tag_name
[
2
])
+
1
)
+
'
.0
'
if
'
patch
'
==
tag
:
# increment the last number in 'v#.#.#'
return
'
v
'
+
latest_tag_name
[:
-
1
]
+
str
(
int
(
latest_tag_name
[
-
1
])
+
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