Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
acmacalister committed Aug 19, 2023
1 parent f8ac424 commit 4c7b881
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ jobs:
- run: bundle exec fastlane test
- run: bundle exec fastlane release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
TAG: ${{ steps.vars.outputs.tag }}
6 changes: 3 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ end
platform :ios do
desc "Deploy new version"
lane :release do
version = version_bump_podspec(path: "Starscream.podspec", version_number: ENV['TAG'])
version = version_bump_podspec(path: "Starscream.podspec", version_number: ENV["TAG"])
changelog = changelog_from_git_commits(merge_commit_filtering: "exclude_merges")

github_release = set_github_release(
repository_name: "daltoniam/Starscream",
api_token: ENV['GITHUB_TOKEN'],
repository_name: "daltoniam/starscream",
api_token: ENV["GITHUB_TOKEN"],
name: version,
tag_name: version,
description: changelog,
Expand Down

0 comments on commit 4c7b881

Please sign in to comment.