Joey Armstrong | 2c850cc | 2023-04-17 16:30:00 -0400 | [diff] [blame] | 1 | # -*- 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 | |
| 20 | onf-publish-args := $(null) |
| 21 | onf-publish-args += --draft |
| 22 | onf-publish-args += --gen-version |
| 23 | onf-publish-args += --repo-org opencord |
| 24 | |
| 25 | # args+=('--repo' 'github.com/opencord/bbsim') |
| 26 | args+=('--title' 'bbsim - v9876.543.21') |
| 27 | |
| 28 | onf-publish-args += --repo-name bbsim |
| 29 | onf-publish-args += --git-hostname github.com |
| 30 | onf-publish-args += --pac $(HOME)/.ssh/github.com/pacs/onf-voltha |
| 31 | # onf-publish-args += --notes-file "$(PWD)/release-notes" |
| 32 | |
| 33 | onf-publish-files += release/bbsimctl-windows-amd64 |
| 34 | onf-publish-files += release/bbr-linux-amd64 |
| 35 | onf-publish-files += release/bbr-windows-amd64 |
| 36 | onf-publish-files += release/bbr-darwin-amd64 |
| 37 | onf-publish-files += release/bbr-linux-arm64 |
| 38 | onf-publish-files += release/bbsim-linux-arm64 |
| 39 | onf-publish-files += release/bbsimctl-darwin-amd64 |
| 40 | onf-publish-files += release/checksum.SHA256 |
| 41 | onf-publish-files += release/bbsimctl-linux-amd64 |
| 42 | onf-publish-files += release/bbsim-darwin-amd64 |
| 43 | onf-publish-files += release/bbsim-windows-amd64 |
| 44 | onf-publish-files += release/bbsim-linux-amd64 |
| 45 | onf-publish-files += release/bbsimctl-linux-arm64 |
| 46 | |
| 47 | onf-publish: |
| 48 | ../ci-management/jjb/shell/github-release.sh $(onf-publish-args) 2>&1 | tee $@.log |
| 49 | |
| 50 | # [EOF] |