From 9d1a394291ae95c7d982ade9f1bbebe137ce3744 Mon Sep 17 00:00:00 2001
From: Dominik Kapusta [ACTION NEEDED] Publishing <%= args['tag'] %> hotfix release to Sparkle failed
- ' />, please proceed with generating appcast2.xml and uploading files to S3 from your
- local machine, ' data-asana-dynamic='false'>according to instructions.
+ [ACTION NEEDED] Publishing <%= tag %> hotfix release to Sparkle failed
+ , please proceed with generating appcast2.xml and uploading files to S3 from your
+ local machine, according to instructions.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-internal.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-internal.html.erb
index 0159735..088ca41 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-internal.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-internal.html.erb
@@ -1,7 +1,7 @@
- [ACTION NEEDED] Publishing <%= args['tag'] %> internal release to Sparkle failed
- ' />, please proceed with generating appcast2.xml and uploading files to S3 from your
- local machine, ' data-asana-dynamic='false'>according to instructions.
+ [ACTION NEEDED] Publishing <%= tag %> internal release to Sparkle failed
+ , please proceed with generating appcast2.xml and uploading files to S3 from your
+ local machine, according to instructions.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-public.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-public.html.erb
index b442285..e963d1d 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-public.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/appcast-failed-public.html.erb
@@ -1,7 +1,7 @@
- [ACTION NEEDED] Publishing <%= args['tag'] %> release to Sparkle failed
- ' />, please proceed with generating appcast2.xml and uploading files to S3 from your
- local machine, ' data-asana-dynamic='false'>according to instructions.
+ [ACTION NEEDED] Publishing <%= tag %> release to Sparkle failed
+ , please proceed with generating appcast2.xml and uploading files to S3 from your
+ local machine, according to instructions.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/debug-symbols-uploaded.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/debug-symbols-uploaded.html.erb
index 0327571..8df6953 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/debug-symbols-uploaded.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/debug-symbols-uploaded.html.erb
@@ -1,5 +1,5 @@
- π Debug symbols archive for <%= args['tag'] %> build is uploaded to <%= args['dsym_s3_path'] %>
.
+ π Debug symbols archive for <%= tag %> build is uploaded to <%= dsym_s3_path %>
.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/dmg-uploaded.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/dmg-uploaded.html.erb
index 31ccd64..af14f18 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/dmg-uploaded.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/dmg-uploaded.html.erb
@@ -1,5 +1,5 @@
- π₯ DMG for <%= args['tag'] %> is available from '><%= args['dmg_url'] %>.
+ π₯ DMG for <%= tag %> is available from <%= dmg_url %>.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/hotfix-branch-ready.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/hotfix-branch-ready.html.erb
index 574b55c..e8d5a0f 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/hotfix-branch-ready.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/hotfix-branch-ready.html.erb
@@ -1,9 +1,9 @@
- Hotfix branch <%= args['branch'] %> ready βοΈ
+ Hotfix branch <%= branch %> ready βοΈ
-
<%= args['branch'] %>
branch has been created off <%= args['release_tag'] %>
tag.<%= branch %>
branch has been created off <%= release_tag %>
tag.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete-with-tasks.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete-with-tasks.html.erb
index 8c8e727..d03e051 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete-with-tasks.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete-with-tasks.html.erb
@@ -1,8 +1,8 @@
- Build <%= args['tag'] %> is now available for internal testing through Sparkle and TestFlight.
+ Build <%= tag %> is now available for internal testing through Sparkle and TestFlight.
Added in this release:
- <%= args['tasks_since_last_internal_release'] %>
+ <%= tasks_since_last_internal_release %>
- '>π₯ DMG download link
+ π₯ DMG download link
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete.html.erb
index 38f2cdc..9055d2a 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-complete.html.erb
@@ -1,5 +1,5 @@
- Build <%= args['tag'] %> is now available for internal testing through Sparkle and TestFlight.
+ Build <%= tag %> is now available for internal testing through Sparkle and TestFlight.
- '>π₯ DMG download link
+ π₯ DMG download link
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-merge-failed.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-merge-failed.html.erb
index d693662..52de680 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-merge-failed.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-merge-failed.html.erb
@@ -1,16 +1,16 @@
- [ACTION NEEDED] Internal release build <%= args['tag'] %> ready
+ [ACTION NEEDED] Internal release build <%= tag %> ready
-
<%= args['tag'] %>
tag.<%= args['branch'] %>
to <%= args['base_branch'] %>
failed.
+ <%= tag %>
tag.<%= branch %>
to <%= base_branch %>
failed.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-tag-failed.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-tag-failed.html.erb
index 12a335d..4ebf597 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-tag-failed.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready-tag-failed.html.erb
@@ -1,13 +1,13 @@
- [ACTION NEEDED] Internal release build <%= args['tag'] %> ready
+ [ACTION NEEDED] Internal release build <%= tag %> ready
-
- ' />, please proceed with manual tagging and merging '
+ , please proceed with manual tagging and merging according to instructions.<%= args['branch'] %>
to <%= args['base_branch'] %>
was skipped.<%= branch %>
to <%= base_branch %>
was skipped.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready.html.erb
index f821b45..3dc4489 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/internal-release-ready.html.erb
@@ -1,16 +1,16 @@
- Internal release build <%= args['tag'] %> ready β
+ Internal release build <%= tag %> ready β
-
<%= args['tag'] %>
tag.<%= args['branch'] %>
branch has been successfully merged to <%= args['base_branch'] %>
.<%= tag %>
tag.<%= branch %>
branch has been successfully merged to <%= base_branch %>
.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-complete.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-complete.html.erb
index a235428..ec67e7e 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-complete.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-complete.html.erb
@@ -1,5 +1,5 @@
- Build <%= args['tag'] %> is now available publicly through Sparkle and TestFlight.
+ Build <%= tag %> is now available publicly through Sparkle and TestFlight.
- '>π₯ DMG download link
+ π₯ DMG download link
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tag-failed.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tag-failed.html.erb
index 81d7fb6..621c4cc 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tag-failed.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tag-failed.html.erb
@@ -1,13 +1,13 @@
- [ACTION NEEDED] Failed to publish <%= args['tag'] %> release βΒ tagging failed
+ [ACTION NEEDED] Failed to publish <%= tag %> release βΒ tagging failed
-
<%= args['branch'] %>
was skipped.<%= branch %>
was skipped.
- ' />, please proceed with the release '
+ , please proceed with the release according to instructions.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged-delete-branch-failed.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged-delete-branch-failed.html.erb
index 6916e35..9704b8d 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged-delete-branch-failed.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged-delete-branch-failed.html.erb
@@ -1,15 +1,15 @@
- [ACTION NEEDED] Public release <%= args['tag'] %> tagged
+ [ACTION NEEDED] Public release <%= tag %> tagged
-
<%= args['tag'] %>
tag.<%= args['branch'] %>
failed.
+ <%= tag %>
tag.<%= branch %>
failed.
-
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged.html.erb
index 493a697..a832d22 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/public-release-tagged.html.erb
@@ -1,12 +1,12 @@
- Public release <%= args['tag'] %> has been tagged β
+ Public release <%= tag %> has been tagged β
-
<%= args['tag'] %>
tag.<%= args['branch'] %>
branch has been deleted.<%= tag %>
tag.<%= branch %>
branch has been deleted.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-internal.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-internal.html.erb
index 1d7d2e3..c7526e0 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-internal.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-internal.html.erb
@@ -1,10 +1,10 @@
- Build <%= args['tag'] %> is available for internal testing through Sparkle π
+ Build <%= tag %> is available for internal testing through Sparkle π
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-public.html.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-public.html.erb
index 8999969..477c714 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-public.html.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_add_comment/templates/validate-check-for-updates-public.html.erb
@@ -1,11 +1,11 @@
- Build <%= args['tag'] %> is available publicly through Sparkle π
+ Build <%= tag %> is available publicly through Sparkle π
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-hotfix.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-hotfix.yml.erb
index 7815492..359bcbc 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-hotfix.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-hotfix.yml.erb
@@ -1,7 +1,7 @@
-name: Generate appcast2.xml for <%= args['tag'] %> hotfix release and upload assets to S3
+name: Generate appcast2.xml for <%= tag %> hotfix release and upload assets to S3
html_notes: |
- Publishing <%= args['tag'] %> hotfix release failed in CI. Please follow the steps to generate the appcast file and upload files to S3 from your local machine.
+ Publishing <%= tag %> hotfix release failed in CI. Please follow the steps to generate the appcast file and upload files to S3 from your local machine.
When done, please verify that "Check for Updates" works correctly:
@@ -25,9 +25,9 @@ html_notes: |
release-notes.txt
on your disk.
@@ -9,7 +9,7 @@ html_notes: |
appcastManager
:
-
./scripts/appcast_manager/appcastManager.swift --release-hotfix-to-public-channel --dmg ~/Downloads/<%= args['dmg_name'] %> --release-notes release-notes.txt
./scripts/appcast_manager/appcastManager.swift --release-hotfix-to-public-channel --dmg ~/Downloads/<%= dmg_name %> --release-notes release-notes.txt
@@ -17,7 +17,7 @@ html_notes: |
upload_to_s3.sh
script:
-
./scripts/upload_to_s3/upload_to_s3.sh --run --overwrite-duckduckgo-dmg <%= args['version'] %>
./scripts/upload_to_s3/upload_to_s3.sh --run --overwrite-duckduckgo-dmg <%= version %>
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-internal.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-internal.yml.erb
index 8f44717..ca6370b 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-internal.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-internal.yml.erb
@@ -1,16 +1,16 @@
-name: Generate appcast2.xml for <%= args['tag'] %> internal release and upload assets to S3
+name: Generate appcast2.xml for <%= tag %> internal release and upload assets to S3
html_notes: |
- Publishing <%= args['tag'] %> internal release failed in CI. Please follow the steps to generate the appcast file and upload files to S3 from your local machine.
+ Publishing <%= tag %> internal release failed in CI. Please follow the steps to generate the appcast file and upload files to S3 from your local machine.
-
release-notes.txt
on your disk.
appcastManager
:
-
./scripts/appcast_manager/appcastManager.swift --release-to-internal-channel --dmg ~/Downloads/<%= args['dmg_name'] %> --release-notes release-notes.txt
./scripts/appcast_manager/appcastManager.swift --release-to-internal-channel --dmg ~/Downloads/<%= dmg_name %> --release-notes release-notes.txt
@@ -26,9 +26,9 @@ html_notes: |
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
\ No newline at end of file
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-public.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-public.yml.erb
index a8055d7..39f8d65 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-public.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/appcast-failed-public.yml.erb
@@ -1,7 +1,7 @@
-name: Generate appcast2.xml for <%= args['tag'] %> public release and upload assets to S3
+name: Generate appcast2.xml for <%= tag %> public release and upload assets to S3
html_notes: |
- Publishing <%= args['tag'] %> release failed in CI. Please follow the steps to generate the appcast file and upload files to S3 from your local machine.
+ Publishing <%= tag %> release failed in CI. Please follow the steps to generate the appcast file and upload files to S3 from your local machine.
When done, please verify that "Check for Updates" works correctly:
@@ -25,8 +25,8 @@ html_notes: |
release-notes.txt
on your disk.
@@ -9,7 +9,7 @@ html_notes: |
appcastManager
:
-
./scripts/appcast_manager/appcastManager.swift --release-to-public-channel --version <%= args['version'] %> --release-notes release-notes.txt
./scripts/appcast_manager/appcastManager.swift --release-to-public-channel --version <%= version %> --release-notes release-notes.txt
@@ -17,7 +17,7 @@ html_notes: |
upload_to_s3.sh
script:
-
./scripts/upload_to_s3/upload_to_s3.sh --run --overwrite-duckduckgo-dmg <%= args['version'] %>
./scripts/upload_to_s3/upload_to_s3.sh --run --overwrite-duckduckgo-dmg <%= version %>
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/delete-branch-failed.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/delete-branch-failed.yml.erb
index a4ff53c..ba366b3 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/delete-branch-failed.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/delete-branch-failed.yml.erb
@@ -1,12 +1,12 @@
-name: Delete <%= args['branch'] %> branch
+name: Delete <%= branch %> branch
html_notes: |
- The <%= args['tag'] %>
public release has been successfully tagged and published in GitHub releases,
- but deleting <%= args['branch'] %>
branch failed. Please delete it manually:
+ The <%= tag %>
public release has been successfully tagged and published in GitHub releases,
+ but deleting <%= branch %>
branch failed. Please delete it manually:
-
Complete this task when ready, or if the release branch has already been deleted.git push origin --delete <%= args['branch'] %>
git push origin --delete <%= branch %>
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/internal-release-tag-failed.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/internal-release-tag-failed.yml.erb
index ff0e121..6650220 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/internal-release-tag-failed.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/internal-release-tag-failed.yml.erb
@@ -1,19 +1,19 @@
-name: Tag <%= args['branch'] %> branch and create GitHub release
+name: Tag <%= branch %> branch and create GitHub release
html_notes: |
- Failed to tag the release with <%= args['tag'] %>
tag.
- Please follow instructions below to tag the branch, make GitHub release and merge release branch to <%= args['base_branch'] %>
manually.
+ Failed to tag the release with <%= tag %>
tag.
+ Please follow instructions below to tag the branch, make GitHub release and merge release branch to <%= base_branch %>
manually.
Issue the following git commands to tag the release and merge the branch:
- git fetch origin
git checkout <%= args['branch'] %>
switch to the release branchgit pull origin <%= args['branch'] %>
pull latest changesgit tag <%= args['tag'] %>
tag the releasegit push origin <%= args['tag'] %>
push the taggit checkout <%= args['base_branch'] %>
switch to <%= args['base_branch'] %>git pull origin <%= args['base_branch'] %>
pull the latest codegit merge <%= args['branch'] %>
+ git checkout <%= branch %>
switch to the release branchgit pull origin <%= branch %>
pull latest changesgit tag <%= tag %>
tag the releasegit push origin <%= tag %>
push the taggit checkout <%= base_branch %>
switch to <%= base_branch %>git pull origin <%= base_branch %>
pull the latest codegit merge <%= branch %>
git push origin <%= args['base_branch'] %>
push merged branchgit push origin <%= base_branch %>
push merged branch
To create GitHub release:
-
gh release create <%= args['tag'] %> --generate-notes --prerelease --notes-start-tag <%= args['last_release_tag'] %>
gh release create <%= tag %> --generate-notes --prerelease --notes-start-tag <%= last_release_tag %>
Complete this task when ready and proceed with testing the build. If you're bumping an internal release, you should get another task asking you to publish the release in Sparkle.
- Look for other tasks in '/> task and handle them as needed.
+ Look for other tasks in task and handle them as needed.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/merge-failed.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/merge-failed.yml.erb
index ea72382..62cc402 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/merge-failed.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/merge-failed.yml.erb
@@ -1,17 +1,17 @@
-name: Merge <%= args['branch'] %> to <%= args['base_branch'] %>
+name: Merge <%= branch %> to <%= base_branch %>
html_notes: |
- The <%= args['tag'] %>
release has been successfully tagged and published in GitHub releases,
- but merging to <%= args['base_branch'] %>
failed. Please resolve conflicts and merge <%= args['branch'] %>
to <%= args['base_branch'] %>
manually.
+ The <%= tag %>
release has been successfully tagged and published in GitHub releases,
+ but merging to <%= base_branch %>
failed. Please resolve conflicts and merge <%= branch %>
to <%= base_branch %>
manually.
Issue the following git commands:
- git fetch origin
git checkout <%= args['branch'] %>
switch to the release branchgit pull origin <%= args['branch'] %>
pull latest changesgit checkout <%= args['base_branch'] %>
switch to <%= args['base_branch'] %>git pull origin <%= args['base_branch'] %>
pull the latest codegit merge <%= args['branch'] %>
+ git checkout <%= branch %>
switch to the release branchgit pull origin <%= branch %>
pull latest changesgit checkout <%= base_branch %>
switch to <%= base_branch %>git pull origin <%= base_branch %>
pull the latest codegit merge <%= branch %>
git push origin <%= args['base_branch'] %>
push merged branchgit push origin <%= base_branch %>
push merged branch
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/public-release-tag-failed.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/public-release-tag-failed.yml.erb
index 84dc98d..bb877f5 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/public-release-tag-failed.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/public-release-tag-failed.yml.erb
@@ -1,7 +1,7 @@
-name: Tag <%= args['branch'] %> branch, delete it, and create GitHub release
+name: Tag <%= branch %> branch, delete it, and create GitHub release
html_notes: |
- Failed to tag the release with <%= args['tag'] %>
tag.
+ Failed to tag the release with <%= tag %>
tag.
Please follow instructions below to tag the branch, make GitHub release and delete the release branch manually.
git fetch origin
git checkout <%= args['branch'] %>
switch to the release branchgit pull origin <%= args['branch'] %>
pull latest changesgit tag <%= args['tag'] %>
tag the releasegit push origin <%= args['tag'] %>
push the taggit checkout <%= args['base_branch'] %>
switch to <%= args['base_branch'] %>git push origin --delete <%= args['branch'] %>
delete the release branchgit checkout <%= branch %>
switch to the release branchgit pull origin <%= branch %>
pull latest changesgit tag <%= tag %>
tag the releasegit push origin <%= tag %>
push the taggit checkout <%= base_branch %>
switch to <%= base_branch %>git push origin --delete <%= branch %>
delete the release branch
To create GitHub release:
-
gh release create <%= args['tag'] %> --generate-notes --latest --notes-start-tag <%= args['last_release_tag'] %>
gh release create <%= tag %> --generate-notes --latest --notes-start-tag <%= last_release_tag %>
Complete this task when ready.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
diff --git a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/run-publish-dmg-release.yml.erb b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/run-publish-dmg-release.yml.erb
index 801e703..dececa1 100644
--- a/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/run-publish-dmg-release.yml.erb
+++ b/lib/fastlane/plugin/ddg_apple_automation/assets/asana_create_action_item/templates/run-publish-dmg-release.yml.erb
@@ -4,15 +4,15 @@ html_notes: |
Using GH CLI
Run the following command:
- gh workflow run publish_dmg_release.yml --ref <%= args['branch'] %> -f asana-task-url=<%= args['asana_task_url'] %> -f tag=<%= args['tag'] %> -f release-type=internal
+ gh workflow run publish_dmg_release.yml --ref <%= branch %> -f asana-task-url=<%= asana_task_url %> -f tag=<%= tag %> -f release-type=internal
Using GitHub web UI
-
<%= args['branch'] %>
<%= args['asana_task_url'] %>
<%= args['tag'] %>
<%= branch %>
<%= asana_task_url %>
<%= tag %>
internal
@@ -28,5 +28,5 @@ html_notes: |
Complete this task when ready and proceed with testing the build. If GitHub Actions is unavailable, you'll find manual instructions in the Run Publish DMG Release GitHub Actions workflow subtask of Make Internal Release task.
- π Workflow URL: '><%= args['workflow_url'] %>.
+ π Workflow URL: <%= workflow_url %>.
aws --profile ddg-macos sso login
aws --profile ddg-macos s3 cp <%= args['old_appcast_name'] %> s3://<%= args['release_bucket_name'] %>/<%= args['release_bucket_prefix'] %>/appcast2.xml --acl public-read
aws --profile ddg-macos s3 cp <%= old_appcast_name %> s3://<%= release_bucket_name %>/<%= release_bucket_prefix %>/appcast2.xml --acl public-read
aws --profile ddg-macos sso login
aws --profile ddg-macos s3 cp <%= args['old_appcast_name'] %> s3://<%= args['release_bucket_name'] %>/<%= args['release_bucket_prefix'] %>/appcast2.xml --acl public-read
aws --profile ddg-macos s3 cp <%= old_appcast_name %> s3://<%= release_bucket_name %>/<%= release_bucket_prefix %>/appcast2.xml --acl public-read