Skip to content

Commit

Permalink
cd
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Mar 17, 2023
1 parent fc49833 commit 1f075da
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/set-user-agent.yml → .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
# it takes pull request name
# and automatically commit it as a package version
# pull request name should always be a version of a new release
#
# After version bump publishing Cocoapods release

name: set-user-agent
name: cd

on:
pull_request:
branches: [ main ]
branches: [ main, develop ]
env:
PACKAGE_VERSION: ${{ github.event.pull_request.title }}

Expand All @@ -27,4 +29,12 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Set User Agent
tagging_message: $PACKAGE_VERSION
skip_checkout: true

- name: Publish to CocoaPod register
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
pod trunk push WalletConnectSwiftV2.podspec

0 comments on commit 1f075da

Please sign in to comment.