Skip to content

Commit 29f247d

Browse files
committed
bundle license in macOS build
1 parent 484d40a commit 29f247d

File tree

3 files changed

+113
-6
lines changed

3 files changed

+113
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,10 @@ jobs:
272272
# Create a universal binary
273273
lipo -create x64/kcserver arm64/kcserver -output kcserver
274274
275-
# Compress and bundle licenses
275+
# Compress and bundle
276276
ARCHIVE="$GITHUB_WORKSPACE/kallichore-${{ env.RELEASE_TAG }}${{ env.DEBUG_FLAG }}-darwin-universal.zip"
277-
zip -Xry $ARCHIVE kcserver
277+
[ -e LICENSE ] || cp "$GITHUB_WORKSPACE/LICENSE" LICENSE
278+
zip -Xry $ARCHIVE kcserver LICENSE
278279
279280
- name: Upload macOS release artifact (universal)
280281
uses: actions/upload-release-asset@v1

LICENSE

Lines changed: 109 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,109 @@
1-
2-
Copyright (C) 2025 Posit Software, PBC. All rights reserved.
3-
1+
Copyright (C) 2024-2025 Posit Software, PBC. All rights reserved.
2+
3+
BEFORE DOWNLOADING OR USING POSITRON (THE "SOFTWARE"), YOU SHOULD CAREFULLY
4+
READ THE FOLLOWING LICENSE AGREEMENT THAT APPLIES TO YOUR USE OF THE SOFTWARE.
5+
DOWNLOADING OR USING POSITRON ESTABLISHES A BINDING AGREEMENT BETWEEN POSIT
6+
SOFTWARE, PBC ("LICENSOR") AND YOU (INCLUDING YOUR COMPANY, IF APPLICABLE).
7+
YOUR ACCEPTANCE OF THIS LICENSE AGREEMENT IS REQUIRED AS A CONDITION TO
8+
PROCEEDING WITH YOUR DOWNLOAD OR USE OF THE SOFTWARE.
9+
10+
11+
Elastic License 2.0
12+
13+
Acceptance
14+
15+
By using the software, you agree to all of the terms and conditions below.
16+
17+
18+
Copyright License
19+
20+
The licensor grants you a non-exclusive, royalty-free, worldwide,
21+
non-sublicensable, non-transferable license to use, copy, distribute, make
22+
available, and prepare derivative works of the software, in each case subject to
23+
the limitations and conditions below.
24+
25+
26+
Limitations
27+
28+
You may not provide the software to third parties as a hosted or managed
29+
service, where the service provides users with access to any substantial set of
30+
the features or functionality of the software.
31+
32+
You may not move, change, disable, or circumvent the license key functionality
33+
in the software, and you may not remove or obscure any functionality in the
34+
software that is protected by the license key.
35+
36+
You may not alter, remove, or obscure any licensing, copyright, or other notices
37+
of the licensor in the software. Any use of the licensor's trademarks is subject
38+
to applicable law.
39+
40+
41+
Patents
42+
43+
The licensor grants you a license, under any patent claims the licensor can
44+
license, or becomes able to license, to make, have made, use, sell, offer for
45+
sale, import and have imported the software, in each case subject to the
46+
limitations and conditions in this license. This license does not cover any
47+
patent claims that you cause to be infringed by modifications or additions to
48+
the software. If you or your company make any written claim that the software
49+
infringes or contributes to infringement of any patent, your patent license for
50+
the software granted under these terms ends immediately. If your company makes
51+
such a claim, your patent license ends immediately for work on behalf of your
52+
company.
53+
54+
55+
Notices
56+
57+
You must ensure that anyone who gets a copy of any part of the software from you
58+
also gets a copy of these terms.
59+
60+
If you modify the software, you must include in any modified copies of the
61+
software prominent notices stating that you have modified the software.
62+
63+
64+
No Other Rights
65+
66+
These terms do not imply any licenses other than those expressly granted in
67+
these terms.
68+
69+
70+
Termination
71+
72+
If you use the software in violation of these terms, such use is not licensed,
73+
and your licenses will automatically terminate. If the licensor provides you
74+
with a notice of your violation, and you cease all violation of this license no
75+
later than 30 days after you receive that notice, your licenses will be
76+
reinstated retroactively. However, if you violate these terms after such
77+
reinstatement, any additional violation of these terms will cause your licenses
78+
to terminate automatically and permanently.
79+
80+
81+
No Liability
82+
83+
As far as the law allows, the software comes as is, without any warranty or
84+
condition, and the licensor will not be liable to you for any damages arising
85+
out of these terms or the use or nature of the software, under any kind of
86+
legal claim.
87+
88+
89+
Definitions
90+
91+
The 'licensor' is the entity offering these terms, and the 'software' is the
92+
software the licensor makes available under these terms, including any portion
93+
of it.
94+
95+
'you' refers to the individual or entity agreeing to these terms.
96+
97+
'your company' is any legal entity, sole proprietorship, or other kind of
98+
organization that you work for, plus all organizations that have control over,
99+
are under the control of, or are under common control with that
100+
organization. 'control' means ownership of substantially all the assets of an
101+
entity, or the power to direct its management and policies by vote, contract, or
102+
otherwise. Control can be direct or indirect.
103+
104+
'your licenses' are all the licenses granted to you for the software under
105+
these terms.
106+
107+
'use' means anything you do with the software requiring one of your licenses.
108+
109+
'trademark' means trademarks, service marks, and similar rights.

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2022-2025 Posit Software, PBC. All rights reserved.
1+
Copyright (C) 2024-2025 Posit Software, PBC. All rights reserved.
22

33
BEFORE DOWNLOADING OR USING POSITRON (THE "SOFTWARE"), YOU SHOULD CAREFULLY
44
READ THE FOLLOWING LICENSE AGREEMENT THAT APPLIES TO YOUR USE OF THE SOFTWARE.

0 commit comments

Comments
 (0)