Skip to content

Fixed swift name of RemoteConfigList (#476) #43

Fixed swift name of RemoteConfigList (#476)

Fixed swift name of RemoteConfigList (#476) #43

name: Release pull requests
on:
push:
tags:
- prerelease/*
jobs:
prerelease:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
name: Checkout all
with:
fetch-depth: 0
- uses: olegtarasov/get-tag@v2.1
id: tagName
with:
tagRegex: 'prerelease\/(\d*\.\d*\.\d*)'
- name: Bump version
run: |
fastlane bump version:${{ steps.tagName.outputs.tag }}
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
title: Release ${{ steps.tagName.outputs.tag }}
body: Release PR
labels: autocreated
branch: release/${{ steps.tagName.outputs.tag }}
base: develop
- uses: actions/checkout@v2
with:
ref: main
- name: Reset main branch
run: |
git fetch origin release/${{ steps.tagName.outputs.tag }}:release/${{ steps.tagName.outputs.tag }}
git reset --hard release/${{ steps.tagName.outputs.tag }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
title: Release ${{ steps.tagName.outputs.tag }}
body: Release PR
labels: autocreated
branch: release/${{ steps.tagName.outputs.tag }}
base: main