Skip to content

Commit

Permalink
chore(regen): regenerate defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Jun 7, 2019
1 parent 49a048d commit 9e7a630
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/util/defaults/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
CamelVersionConstraint = "~2.24.x"

// RuntimeVersion --
RuntimeVersion = "0.3.2"
RuntimeVersion = "0.3.3"

// BaseImage --
BaseImage = "fabric8/s2i-java:3.0-java8"
Expand Down
23 changes: 22 additions & 1 deletion script/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,34 @@ GPG_PASS := $(GPG_PASS)
GOLDFLAGS += -X main.GitCommit=$(GIT_COMMIT)
GOFLAGS = -ldflags "$(GOLDFLAGS)"

define LICENSE_HEADER
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
endef

export LICENSE_HEADER
default: test

#
# Generates the version file
#
codegen:
@echo "package defaults" > $(VERSIONFILE)
@echo "/*" > $(VERSIONFILE)
@echo "$$LICENSE_HEADER" >> $(VERSIONFILE)
@echo "*/" >> $(VERSIONFILE)
@echo "package defaults" >> $(VERSIONFILE)
@echo "" >> $(VERSIONFILE)
@echo "// ***********************" >> $(VERSIONFILE)
@echo "// DO NOT EDIT THIS FILE" >> $(VERSIONFILE)
Expand Down

0 comments on commit 9e7a630

Please sign in to comment.