Skip to content

Commit fbed2fc

Browse files
authored
remove lint version (#1809)
VERSION file is not used
1 parent 0e96ddd commit fbed2fc

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.circleci/config.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -317,27 +317,6 @@ jobs:
317317
exit 1
318318
fi
319319
320-
321-
lint_version:
322-
executor: builder
323-
steps:
324-
- setup_elixir-omg_workspace
325-
- run:
326-
command: |
327-
if [ -n "$CIRCLE_TAG" ]; then
328-
_tagged_version="${CIRCLE_TAG#*v}"
329-
_tagged_version_ignoring_pre="${_tagged_version%%-pre.*}"
330-
_filed_version="$(head -n 1 ./VERSION | sed 's/^[ \t]*//;s/[ \t]*$//')"
331-
332-
if [ "$_tagged_version_ignoring_pre" != "$_filed_version" ]; then
333-
echo "The git tag \"${CIRCLE_TAG}\" expects the VERSION to be \"${_tagged_version_ignoring_pre}\". Got \"${_filed_version}\"."
334-
exit 1
335-
fi
336-
else
337-
echo "This build is not version-tagged. Skipping version lint."
338-
exit 0
339-
fi
340-
341320
sobelow:
342321
executor: builder_pg
343322
environment:
@@ -1115,9 +1094,6 @@ workflows:
11151094
- lint:
11161095
requires: [build]
11171096
filters: *all_branches_and_tags
1118-
- lint_version:
1119-
requires: [build]
1120-
filters: *all_branches_and_tags
11211097
- sobelow:
11221098
requires: [build]
11231099
filters: *all_branches_and_tags
@@ -1144,7 +1120,6 @@ workflows:
11441120
property_tests,
11451121
dialyzer,
11461122
lint,
1147-
lint_version,
11481123
audit_deps
11491124
]
11501125
filters: &master_and_version_branches_and_all_tags
@@ -1168,7 +1143,6 @@ workflows:
11681143
property_tests,
11691144
dialyzer,
11701145
lint,
1171-
lint_version,
11721146
audit_deps
11731147
]
11741148
filters: *master_and_version_branches_and_all_tags
@@ -1221,7 +1195,6 @@ workflows:
12211195
property_tests,
12221196
dialyzer,
12231197
lint,
1224-
lint_version,
12251198
audit_deps
12261199
]
12271200
context:

0 commit comments

Comments
 (0)