Skip to content

Commit

Permalink
Full release automation is done
Browse files Browse the repository at this point in the history
  • Loading branch information
mecoFarid committed Mar 20, 2023
1 parent ad6514b commit 16b306a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and Publish App
run-name: Build and Publish App
on: [workflow_dispatch]
on:
push:
tags:
- '*'

jobs:
build:
Expand Down
1 change: 0 additions & 1 deletion androidApp/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ end

desc "Release to GitHub"
private_lane :github_release do |params|
sh('git fetch --tags')
last_tag = last_git_tag
tag_message = sh("git tag -l -n1 #{last_tag} | sed 's/^[^\t]*\t//'")
set_github_release(
Expand Down
2 changes: 1 addition & 1 deletion automation/scripts/deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ echo "$appfile_content" > "$fastlane_dir/Appfile"
pushd "../../androidApp" || exit
gem install fastlane -N
bundle install
fastlane release
bundle exec fastlane release
popd || exit

0 comments on commit 16b306a

Please sign in to comment.