Skip to content

fix: correct starscream dependency minimum version to 4.0.5 (#188) #78

fix: correct starscream dependency minimum version to 4.0.5 (#188)

fix: correct starscream dependency minimum version to 4.0.5 (#188) #78

Workflow file for this run

name: Create GitHub Release
on:
push:
branches:
- main
paths:
- 'Sources/**/*'
- 'Package.swift'
- '.github/workflows/publish.yml'
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
# Release
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.2
with:
# Relevant Branches
release_branches: main
# Tag configuration
tag_prefix: ''
default_bump: 'patch'
# Credentials
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
release_name: SwiftGraphQL ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
if: steps.tag_version.outputs.new_tag != null
- name: Update Podspec and Formula
run: |
make update_brew_formula
make update_podspec
env:
VERSION: ${{ steps.tag_version.outputs.new_version }}
if: steps.tag_version.outputs.new_tag != null
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: Bump Podspec and Brew formula
committer: GitHub <noreply@github.com>
branch: chore/publish
delete-branch: true
title: Update Formula and PodSpec to ${{ steps.tag_version.outputs.new_version }}
body: 'This PR updates the referenced versions of the formula and podspec to the latest version.'
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
if: steps.tag_version.outputs.new_tag != null