Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gitleaks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Gitleaks
Commits
f4d93505
Commit
f4d93505
authored
11 months ago
by
Pierre Smeyers
Browse files
Options
Downloads
Patches
Plain Diff
ci: fix bumpversion regex
parent
f0a7a73e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bumpversion.sh
+1
-1
1 addition, 1 deletion
bumpversion.sh
with
1 addition
and
1 deletion
bumpversion.sh
+
1
−
1
View file @
f4d93505
...
...
@@ -33,7 +33,7 @@ if [[ "$curVer" ]]; then
# replace in template and variants
for
tmpl
in
templates/
*
.yml
do
sed
-e
"s/command: *
\[\"
--service
\"
,
\"\(
.*
\)\"
,
\"
$curVer
\"\]
/command: [
\"
--service
\"
,
\"\1\"
,
\"
$nextVer
\"
]/"
"
$tmpl
"
>
"
$tmpl
.next"
sed
-e
"s/command: *
\[
*
\"
--service
\"
,
*
\"\(
.*
\)\"
,
*
\"
$curVer
\"
*
\]
/command: [
\"
--service
\"
,
\"\1\"
,
\"
$nextVer
\"
]/"
"
$tmpl
"
>
"
$tmpl
.next"
mv
-f
"
$tmpl
.next"
"
$tmpl
"
done
else
...
...
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