File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export DEFAULT_CHANNEL
46
46
# To re-generate a bundle for another specific version without changing the standard setup, you can:
47
47
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
48
48
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
49
+ CI_VERSION := 9.9.9-dummy
49
50
VERSION ?= $(DEFAULT_VERSION )
50
51
PREVIOUS_VERSION ?= $(DEFAULT_VERSION )
51
52
export VERSION
@@ -213,10 +214,10 @@ bundle-update: verify-previous-version ## Update CSV fields and validate the bun
213
214
214
215
.PHONY : verify-previous-version
215
216
verify-previous-version : # # Verifies that PREVIOUS_VERSION variable is set
216
- @if [ $( VERSION) != $( DEFAULT_VERSION) ] && [ $( PREVIOUS_VERSION) = $( DEFAULT_VERSION) ]; then \
217
- echo "Error : PREVIOUS_VERSION must be set for the selected VERSION"; \
218
- exit 1; \
219
- fi
217
+ @if [ $( VERSION) != $( DEFAULT_VERSION) ] && [ $( VERSION ) != $( CI_VERSION ) ] && [ $( PREVIOUS_VERSION) = $( DEFAULT_VERSION) ]; then \
218
+ echo " Error: PREVIOUS_VERSION must be set for the selected VERSION" ; \
219
+ exit 1; \
220
+ fi
220
221
221
222
.PHONY : bundle-reset-date
222
223
bundle-reset-date : # # Reset bundle's createdAt
You can’t perform that action at this time.
0 commit comments