-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Setup git-based release workflow (#12)
chore(legal): Add portals license file to iOS repo
- Loading branch information
1 parent
a16c8d5
commit 0c55a51
Showing
3 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Prerelease | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'release/**' | ||
|
||
jobs: | ||
update-version: | ||
runs-on: macos-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- run: sudo xcode-select --switch /Applications/Xcode_13.2.1.app | ||
- uses: actions/checkout@v2 | ||
- name: Install build dependencies | ||
run: gem install cocoapods xcpretty fastlane | ||
- name: Assign version to RELEASE_VERSION environment variable | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/*/}" >> $GITHUB_ENV | ||
- name: Bump podspec version | ||
run: fastlane run version_bump_podspec version_number:"${RELEASE_VERSION}" | ||
- name: Validate Pod Lib # We're not doing a pod spec lint because the tag is not valid yet | ||
run: pod lib lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Publish to Cocoapods | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
publish-to-cocoapods: | ||
runs-on: macos-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- run: sudo xcode-select --switch /Applications/Xcode_13.2.1.app | ||
- uses: actions/checkout@v2 | ||
- name: Install build dependencies | ||
run: gem install cocoapods | ||
- name: Validate podspec | ||
run: pod spec lint | ||
- name: Publish podspec | ||
run: pod trunk push | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Ionic Portals License 1.0.0 | ||
|
||
Based on the text of the licenses in the Polyform Project with new account registration conditions. | ||
|
||
## Acceptance | ||
|
||
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses. | ||
|
||
## Copyright License | ||
|
||
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it, but only so long as you comply with the Account Registration Feature requirement below. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license). | ||
|
||
## Account Registration Feature | ||
|
||
You must preserve, and you must not remove or modify, the Account Registration Feature in the software. | ||
|
||
## Distribution License | ||
|
||
The licensor grants you an additional copyright license to distribute copies of the software, but only so long as you comply with the Account Registration Feature requirement above and the Notice requirement below. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license). | ||
|
||
## Notices | ||
|
||
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example: | ||
|
||
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com) | ||
## Changes and New Works License | ||
|
||
The licensor grants you an additional copyright license to make changes and new works based on the software, but only so long as you comply with the Account Registration Feature requirement above. | ||
|
||
## Patent License | ||
|
||
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software. | ||
|
||
## Fair Use | ||
|
||
You may have "fair use" rights for the software under the law. These terms do not limit them. | ||
|
||
## No Other Rights | ||
|
||
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses. | ||
|
||
## Patent Defense | ||
|
||
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company. | ||
|
||
## Violations | ||
|
||
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 30 days of receiving notice. Otherwise, all your licenses end immediately. | ||
|
||
## No Liability | ||
|
||
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.*** | ||
|
||
## Definitions | ||
|
||
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms. | ||
|
||
**You** refers to the individual or entity agreeing to these terms. | ||
|
||
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect. | ||
|
||
**Your licenses** are all the licenses granted to you for the software under these terms. | ||
|
||
**Use** means anything you do with the software requiring one of your licenses. | ||
|
||
**Account Registration Feature** is the portion of the software marked by the licensor as the Account Registration Feature in the software. The Account Registration Feature may be a license key, token, or any other such mechanism designated by the licensor. |