-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 944 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Release
on:
push:
branches:
- main
# Add any backport branches here that should also be released
jobs:
publish:
name: Publish
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
# PRIVATE_DEPLOY_KEY is the private rsa key, the public key is configured as a deploy key in the repo settings
# This allows commits and tags to be pushed back to main (a protected branch)
ssh-key: ${{ secrets.PRIVATE_DEPLOY_KEY }}
- name: Publish
id: publish
run: |
npm install -g podspec-bump
podspec-bump -w
git commit -am "bump `podspec-bump --dump-version`"
git push
git tag "`podspec-bump --dump-version`"
git push --tags
pod trunk register [email protected] 'Akshay Pandey' --description='macbook air'
pod trunk push --allow-warnings