Skip to content

Commit

Permalink
chore: update fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
gtokman committed May 2, 2021
1 parent dca15d1 commit 669c449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ platform :ios do
lines.append(line)
end
end
log = lines.drop(5)
log = lines.drop(5).join
url = `git config --get remote.origin.url`.chomp
repo = str.split(":")[1].split(".")[0]
repo = url.split(":")[1].split(".")[0]

github_release = set_github_release(
repository_name: repo,
api_token: ENV["GITHUB_TOKEN"],
name: tag,
tag_name: tag,
description: (log rescue "No changelog provided"),
description: (log rescue "Checkout the [changelog](./CHANGELOG.md)."),
commitish: "main",
)
end
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ sourcedocs generate --all-modules
git add . && git commit -m "chore: update docs"
npm run release
git push origin main --follow-tags
bef release
bundle exec fastlane release

0 comments on commit 669c449

Please sign in to comment.