Skip to content

Commit

Permalink
Merge 4028f89 into 0e8a3a1
Browse files Browse the repository at this point in the history
  • Loading branch information
sprzenus committed Apr 14, 2020
2 parents 0e8a3a1 + 4028f89 commit ab97034
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
release:
types: [published]

jobs:
release:
runs-on: macos-latest

steps:
- name: Checkout branch
uses: actions/checkout@v2

- name: Set version in podspec
uses: maierj/fastlane-action@v1.4.0
with:
lane: set_podspec_version

- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Release to CocoaPods
run: pod trunk push Restler.podspec
env:
CI_COMMIT_TAG: ${{ steps.get_version.outputs.VERSION }}

0 comments on commit ab97034

Please sign in to comment.