Skip to content

Commit

Permalink
fix: correct changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
evan361425 committed Oct 29, 2023
1 parent aceb256 commit 07f9f58
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,7 @@ jobs:
"https://api.github.com/repos/evan361425/flutter-pos-system/releases/$(echo "$release" | jq -r '.id')"
fi
body="$(echo "$release" | jq -r '.body')"
body="${body//'%'/'%25'}"
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"
body="${body//$'## '/}"
body="${body//$'-'/•}"
body="$(echo "$release" | jq -r '.body' | sed 's/^## //' | sed 's/^-/•/')"
echo "changelog=$body" >> $GITHUB_OUTPUT
# Push changelog to repository
Expand Down
18 changes: 16 additions & 2 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ platform :android do
upload_to_play_store(
track: 'internal',
aab: '../build/app/outputs/bundle/devRelease/app-dev-release.aab',
skip_upload_screenshots: true,
skip_upload_metadata: true,
skip_upload_changelogs: true,
skip_upload_images: true,
sync_image_upload: false,
validate_only: true,
json_key: "fastlane-keys.json",
)
Expand All @@ -39,7 +42,10 @@ platform :android do
track: 'internal',
rollout: '1',
aab: '../build/app/outputs/bundle/devRelease/app-dev-release.aab',
skip_upload_screenshots: true,
skip_upload_metadata: true,
skip_upload_changelogs: false,
skip_upload_images: true,
sync_image_upload: false,
json_key_data: ENV['PLAY_STORE_CONFIG_JSON'],
)
end
Expand All @@ -51,6 +57,10 @@ platform :android do
upload_to_play_store(
track: 'beta',
aab: '../build/app/outputs/bundle/prodRelease/app-prod-release.aab',
skip_upload_metadata: false,
skip_upload_changelogs: false,
skip_upload_images: false,
sync_image_upload: true,
json_key_data: ENV['PLAY_STORE_CONFIG_JSON'],
)
end
Expand All @@ -59,6 +69,10 @@ platform :android do
lane :promote_to_production do
upload_to_play_store(
track: 'beta',
skip_upload_metadata: false,
skip_upload_changelogs: false,
skip_upload_images: false,
sync_image_upload: true,
track_promote_to: 'production',
json_key_data: ENV['PLAY_STORE_CONFIG_JSON'],
version_code: ENV['VERSION_CODE'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
🚀 功能%0D%0A%0D%0A• 允許管理暫存訂單 #198 : evan361425%0D%0A• 使用滑動來刪除資料%0D%0A%0D%0A%0D
🚀 功能

• 允許管理暫存訂單 #198 : evan361425
• 使用滑動來刪除資料

0 comments on commit 07f9f58

Please sign in to comment.