-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): pulling release/1.21.0 into master
- Loading branch information
Showing
23 changed files
with
246 additions
and
142 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 |
---|---|---|
|
@@ -5,8 +5,17 @@ on: | |
types: ['opened', 'reopened', 'synchronize'] | ||
|
||
jobs: | ||
cancel_previous: | ||
name: 'Cancel previous Code Quality Checks' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: styfle/[email protected] | ||
with: | ||
workflow_id: ${{ github.event.workflow.id }} | ||
|
||
build: | ||
name: Code Quality Checks | ||
name: 'Code Quality Checks' | ||
needs: cancel_previous | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
|
File renamed without changes.
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
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,30 @@ | ||
name: Deploy to Private Pod | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
types: | ||
- opened | ||
|
||
jobs: | ||
deploy_private_pod: | ||
name: Deploy to Private Pod | ||
runs-on: macOS-latest | ||
if: (startsWith(github.event.client_payload.branch_name, 'release/') || startsWith(github.event.client_payload.branch_name, 'hotfix-release/')) | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: '${{ github.event.pull_request.head.ref }}' | ||
|
||
- name: Install Cocoapods | ||
run: gem install cocoapods | ||
|
||
- name: Add Private Spec Repo to CocoaPods installation | ||
run: | | ||
pod repo add Rudder https://${{secrets.PAT_USERNAME}}:${{secrets.PAT}}@github.com/rudderlabs/Specs.git | ||
- name: Add Podspec to repo | ||
run: | | ||
pod repo push Rudder Rudder.podspec |
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
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
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 |
---|---|---|
|
@@ -38,18 +38,13 @@ jobs: | |
git config user.name "GitHub actions" | ||
git config user.email [email protected] | ||
- name: Create Github Release & Tag | ||
- name: Create Github Release | ||
id: create_release | ||
env: | ||
HUSKY: 0 | ||
GITHUB_TOKEN: ${{ secrets.PAT }} | ||
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.PAT }} | ||
run: | | ||
git for-each-ref refs/tags | ||
./Scripts/find-tag.sh ${{ steps.extract-version.outputs.release_version }} && git tag --delete ${{ steps.extract-version.outputs.release_version }} && git push --delete origin ${{ steps.extract-version.outputs.release_version }} | ||
git tag -a v${{ steps.extract-version.outputs.release_version }} -m "chore: release v${{ steps.extract-version.outputs.release_version }}" | ||
git push origin refs/tags/v${{ steps.extract-version.outputs.release_version }} | ||
git for-each-ref refs/tags | ||
DEBUG=conventional-github-releaser npx conventional-github-releaser -p angular --config github-release.config.js | ||
- name: Create pull request into develop | ||
|
@@ -60,6 +55,7 @@ jobs: | |
github_token: ${{ secrets.PAT }} | ||
pr_title: "chore(release): pulling master into develop post release v${{ steps.extract-version.outputs.release_version }}" | ||
pr_body: ':crown: *An automated PR*' | ||
pr_reviewer: 'pallabmaiti' | ||
|
||
- name: Delete hotfix release branch | ||
uses: koj-co/delete-merged-action@master | ||
|
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
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 |
---|---|---|
|
@@ -8,8 +8,17 @@ on: | |
types: ['opened', 'reopened', 'synchronize'] | ||
|
||
jobs: | ||
cancel_previous: | ||
name: 'Cancel previous Tests & Coverage' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: styfle/[email protected] | ||
with: | ||
workflow_id: ${{ github.event.workflow.id }} | ||
|
||
build: | ||
name: 'Tests & Coverage' | ||
needs: cancel_previous | ||
runs-on: macOS-latest | ||
env: | ||
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed | ||
|
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
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
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
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
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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
<p align="center"> | ||
<a href="https://cocoapods.org/pods/Rudder"> | ||
<img src="https://img.shields.io/static/v1?label=pod&message=v1.20.0&color=blue&style=flat"> | ||
<img src="https://img.shields.io/static/v1?label=pod&message=v1.21.0&color=blue&style=flat"> | ||
</a> | ||
</p> | ||
|
||
|
@@ -39,15 +39,15 @@ The iOS SDK is available through [**CocoaPods**](https://cocoapods.org), [**Cart | |
To install the SDK, simply add the following line to your Podfile: | ||
|
||
```xcode | ||
pod 'Rudder', '1.20.0' | ||
pod 'Rudder', '1.21.0' | ||
``` | ||
|
||
### Carthage | ||
|
||
For Carthage support, add the following line to your `Cartfile`: | ||
|
||
```xcode | ||
github "rudderlabs/rudder-sdk-ios" "v1.20.0" | ||
github "rudderlabs/rudder-sdk-ios" "v1.21.0" | ||
``` | ||
|
||
> Remember to include the following code in all `.m` and `.h` files where you want to refer to or use the RudderStack SDK classes, as shown: | ||
|
@@ -71,7 +71,7 @@ You can also add the RudderStack iOS SDK via Swift Package Mangaer, via one of t | |
|
||
* Enter the package repository (`[email protected]:rudderlabs/rudder-sdk-ios.git`) in the search bar. | ||
|
||
* In **Dependency Rule**, select **Up to Next Major Version** and enter `1.20.0` as the value, as shown: | ||
* In **Dependency Rule**, select **Up to Next Major Version** and enter `1.21.0` as the value, as shown: | ||
|
||
![Setting dependency](https://user-images.githubusercontent.com/59817155/145574696-8c849749-13e0-40d5-aacb-3fccb5c8e67d.png) | ||
|
||
|
@@ -99,7 +99,7 @@ let package = Package( | |
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
.package(url: "[email protected]:rudderlabs/rudder-sdk-ios.git", from: "1.20.0") | ||
.package(url: "[email protected]:rudderlabs/rudder-sdk-ios.git", from: "1.21.0") | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package. A target can define a module or a test suite. | ||
|
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
Oops, something went wrong.