Skip to content

chore: update release tooling #10

chore: update release tooling

chore: update release tooling #10

Workflow file for this run

name: Release
on:
push:
tags:
- "*.*.*"
jobs:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set Latest Tag
id: vars
run: echo "tag=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_OUTPUT
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec fastlane test
- run: bundle exec fastlane release
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
TAG: ${{ steps.vars.outputs.tag }}