Skip to content

Commit

Permalink
Workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Burzo committed Apr 1, 2024
1 parent 9618c7e commit 09d9add
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Build and Deploy to App Distribution and Testflight
on:
workflow_dispatch:
push:
tags:
- "*"
branches:
- "main"

jobs:
extract-version:
Expand Down
13 changes: 13 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ platform :ios do
desc "Build a release version of the app"

lane :build_release do

# Check if the release_notes.txt file exists
if File.exist?("./release_notes.txt")
# Read the contents of the file
release_notes_content = File.read("./release_notes.txt")

# Print the contents of the file
puts "Release Notes:"
puts release_notes_content
else
puts "Release notes file not found"
end

create_keychain(
name: "com.wildlife.wildlifewatcher",
password: ENV["IOS_KEYCHAIN_PASSWORD"],
Expand Down

0 comments on commit 09d9add

Please sign in to comment.