Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CI Templates
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IT Common Platform
tenant-support
CI Templates
Merge requests
!60
Revert "Anchor the version search in order to not pick up the version attribute of dependencies."
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Revert "Anchor the version search in order to not pick up the version attribute of dependencies."
revert-bece0413
into
main
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Morgan Hoffman
requested to merge
revert-bece0413
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
This reverts commit
bece0413
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
4fc0a8d4
1 commit,
1 year ago
1 file
+
1
−
1
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
building-blocks/helm.yml
+
1
−
1
Options
@@ -7,7 +7,7 @@
script
:
-
git fetch -q
-
export HELM_CODE_UPDATED="false"
-
if [ $(git diff origin/$CI_DEFAULT_BRANCH Chart.yaml|grep
"^
version:
"
|wc -l) -lt 2 ];then export VERSION_UPDATE="false";else export VERSION_UPDATE="true";fi
-
if [ $(git diff origin/$CI_DEFAULT_BRANCH Chart.yaml|grep version:|wc -l) -lt 2 ];then export VERSION_UPDATE="false";else export VERSION_UPDATE="true";fi
-
if [ $(git diff origin/$CI_DEFAULT_BRANCH ':(exclude).gitlab-ci.yml' ':(exclude)renovate.json' ':(exclude)README.md' ':(exclude).helmignore' ':(exclude)tests/*'|wc -l) -gt 0 ]; then HELM_CODE_UPDATED="true";fi
-
if [ "$VERSION_UPDATE" == "false" ] && [ "$HELM_CODE_UPDATED" == "true" ] ;then echo "The Helm Chart version needs to be updated.";exit 1; fi
rules
: