blob: 90d342051c404f0981b04d33ce0425c2252d7dcf [file] [log] [blame]
Joey Armstrong2c850cc2023-04-17 16:30:00 -04001# -*- makefile -*-
2# -----------------------------------------------------------------------
3# Copyright 2017-2023 Open Networking Foundation (ONF) and the ONF Contributors
4#
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
8#
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# -----------------------------------------------------------------------
17
18$(if $(DEBUG),$(warning ENTER))
19
20onf-publish-args := $(null)
21onf-publish-args += --draft
22onf-publish-args += --gen-version
23onf-publish-args += --repo-org opencord
24
25# args+=('--repo' 'github.com/opencord/bbsim')
26args+=('--title' 'bbsim - v9876.543.21')
27
28onf-publish-args += --repo-name bbsim
29onf-publish-args += --git-hostname github.com
30onf-publish-args += --pac $(HOME)/.ssh/github.com/pacs/onf-voltha
31# onf-publish-args += --notes-file "$(PWD)/release-notes"
32
33onf-publish-files += release/bbsimctl-windows-amd64
34onf-publish-files += release/bbr-linux-amd64
35onf-publish-files += release/bbr-windows-amd64
36onf-publish-files += release/bbr-darwin-amd64
37onf-publish-files += release/bbr-linux-arm64
38onf-publish-files += release/bbsim-linux-arm64
39onf-publish-files += release/bbsimctl-darwin-amd64
40onf-publish-files += release/checksum.SHA256
41onf-publish-files += release/bbsimctl-linux-amd64
42onf-publish-files += release/bbsim-darwin-amd64
43onf-publish-files += release/bbsim-windows-amd64
44onf-publish-files += release/bbsim-linux-amd64
45onf-publish-files += release/bbsimctl-linux-arm64
46
47onf-publish:
48 ../ci-management/jjb/shell/github-release.sh $(onf-publish-args) 2>&1 | tee $@.log
49
50# [EOF]