File tree Expand file tree Collapse file tree 10 files changed +89
-60
lines changed
Expand file tree Collapse file tree 10 files changed +89
-60
lines changed Original file line number Diff line number Diff line change 22
33<div id =" header " align =" center " >
44
5- [ ![ Eclipse License] ( https://img.shields.io/badge/license-Eclipse -brightgreen.svg )] ( LICENSE )
5+ [ ![ Apache License] ( https://img.shields.io/badge/license-Apache -brightgreen.svg )] ( LICENSE )
66[ ![ Contribute] ( https://img.shields.io/badge/developer-workspace-525C86?logo=eclipse-che&labelColor=FDB940 )] ( https://workspaces.openshift.com/f?url=https://github.com/devfile/api )
77
88</div >
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # Copyright (c) 2020 Red Hat, Inc.
4- # This program and the accompanying materials are made
5- # available under the terms of the Eclipse Public License 2.0
6- # which is available at https://www.eclipse.org/legal/epl-2.0/
3+ # Copyright 2020-2022 Red Hat, Inc.
74#
8- # SPDX-License-Identifier: EPL-2.0
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
98#
10- # Contributors:
11- # Red Hat, Inc. - initial API and implementation
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
1216
1317BLUE=' \033[1;34m'
1418GREEN=' \033[0;32m'
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # Copyright (c) 2020 Red Hat, Inc.
4- # This program and the accompanying materials are made
5- # available under the terms of the Eclipse Public License 2.0
6- # which is available at https://www.eclipse.org/legal/epl-2.0/
3+ # Copyright 2020-2022 Red Hat, Inc.
74#
8- # SPDX-License-Identifier: EPL-2.0
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
98#
10- # Contributors:
11- # Red Hat, Inc. - initial API and implementation
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
1216
1317BLUE=' \033[1;34m'
1418GREEN=' \033[0;32m'
Original file line number Diff line number Diff line change 11#
2- # Copyright (c) 2021 Red Hat, Inc.
3- # This program and the accompanying materials are made
4- # available under the terms of the Eclipse Public License 2.0
5- # which is available at https://www.eclipse.org/legal/epl-2.0/
2+ # Copyright 2021-2022 Red Hat, Inc.
63#
7- # SPDX-License-Identifier: EPL-2.0
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
87#
9- # Contributors:
10- # Red Hat, Inc. - initial API and implementation
8+ # http://www.apache.org/licenses/LICENSE-2.0
119#
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
1215
1316import os
1417import argparse
Original file line number Diff line number Diff line change 11#
2- # Copyright (c) 2021 Red Hat, Inc.
3- # This program and the accompanying materials are made
4- # available under the terms of the Eclipse Public License 2.0
5- # which is available at https://www.eclipse.org/legal/epl-2.0/
2+ # Copyright 2021-2022 Red Hat, Inc.
63#
7- # SPDX-License-Identifier: EPL-2.0
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
87#
9- # Contributors:
10- # Red Hat, Inc. - initial API and implementation
8+ # http://www.apache.org/licenses/LICENSE-2.0
119#
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
1215
1316import os
1417import json
Original file line number Diff line number Diff line change 3434 sed -i ' s/\"name\": \".*\"/"name": "@devfile\/api"/g' $WORK_DIR /typescript-models/package.json
3535 sed -i ' s/\"description\": \".*\"/"description": "Typescript types for devfile api"/g' $WORK_DIR /typescript-models/package.json
3636 sed -i ' s/\"repository\": \".*\"/"repository": "devfile\/api"/g' $WORK_DIR /typescript-models/package.json
37- sed -i ' s/\"license\": \".*\"/"license": "EPL -2.0"/g' $WORK_DIR /typescript-models/package.json
37+ sed -i ' s/\"license\": \".*\"/"license": "Apache -2.0"/g' $WORK_DIR /typescript-models/package.json
3838 sed -i ' s/\"@types\/bluebird\": \".*\"/"@types\/bluebird": "3.5.21"/g' $WORK_DIR /typescript-models/package.json
3939 echo " " > $WORK_DIR /typescript-models/.npmignore
4040 echo " [INFO] Generated typescript model which now is available in $WORK_DIR /typescript-models"
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # Copyright (c) 2020 Red Hat, Inc.
4- # This program and the accompanying materials are made
5- # available under the terms of the Eclipse Public License 2.0
6- # which is available at https://www.eclipse.org/legal/epl-2.0/
3+ # Copyright 2020-2022 Red Hat, Inc.
74#
8- # SPDX-License-Identifier: EPL-2.0
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
98#
10- # Contributors:
11- # Red Hat, Inc. - initial API and implementation
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
1216
1317BLUE=' \033[1;34m'
1418GREEN=' \033[0;32m'
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # Copyright (c) 2020 Red Hat, Inc.
4- # This program and the accompanying materials are made
5- # available under the terms of the Eclipse Public License 2.0
6- # which is available at https://www.eclipse.org/legal/epl-2.0/
3+ # Copyright 2020-2022 Red Hat, Inc.
74#
8- # SPDX-License-Identifier: EPL-2.0
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
98#
10- # Contributors:
11- # Red Hat, Inc. - initial API and implementation
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+
1217
1318# git ROOT directory used to mount filesystem
1419GIT_ROOT_DIRECTORY=$( git rev-parse --show-toplevel)
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # Copyright (c) 2020 Red Hat, Inc.
4- # This program and the accompanying materials are made
5- # available under the terms of the Eclipse Public License 2.0
6- # which is available at https://www.eclipse.org/legal/epl-2.0/
3+ # Copyright 2020-2022 Red Hat, Inc.
74#
8- # SPDX-License-Identifier: EPL-2.0
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
98#
10- # Contributors:
11- # Red Hat, Inc. - initial API and implementation
12-
13- # Based on https://github.com/che-incubator/chectl/blob/master/make-release.sh
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
1416
1517set -e
1618set -u
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # Copyright (c) 2020 Red Hat, Inc.
4- # This program and the accompanying materials are made
5- # available under the terms of the Eclipse Public License 2.0
6- # which is available at https://www.eclipse.org/legal/epl-2.0/
3+ # Copyright 2020-2022 Red Hat, Inc.
74#
8- # SPDX-License-Identifier: EPL-2.0
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
98#
10- # Contributors:
11- # Red Hat, Inc. - initial API and implementation
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
1216
1317BLUE=' \033[1;34m'
1418GREEN=' \033[0;32m'
You can’t perform that action at this time.
0 commit comments