-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
89 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
.github/actions/asana-create-action-item/templates/tag-failed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
data: | ||
name: Merging ${BRANCH} to ${BASE_BRANCH} failed | ||
assignee: "${ASSIGNEE_ID}" | ||
html_notes: | | ||
<body> | ||
Failed to tag the release with <code>${TAG}</code> tag. | ||
Please follow instructions below to tag the branch, make GitHub release and merge release branch to <code>${BASE_BRANCH}</code> manually. | ||
Issue the following git commands to tag the release and merge the branch: | ||
<ul> | ||
<li><code>git fetch origin</code></li> | ||
<li><code>git checkout ${BRANCH}</code> switch to the release branch</li> | ||
<li><code>git pull origin ${BRANCH}</code> pull latest changes</li> | ||
<li><code>git tag ${TAG}</code> tag the release</li> | ||
<li><code>git push origin ${TAG}</code> push the tag</li> | ||
<li><code>git checkout ${BASE_BRANCH}</code> switch to ${BASE_BRANCH}</li> | ||
<li><code>git pull origin ${BASE_BRANCH}</code> pull the latest code</li> | ||
<li><code>git merge ${BRANCH}</code> | ||
<ul> | ||
<li>resolve conflicts as needed</li> | ||
</ul></li> | ||
<li><code>git push origin ${BASE_BRANCH}</code> push merged branch</li> | ||
</ul> | ||
To create GitHub release: | ||
<ul> | ||
<li>Set up GH CLI if you haven't yet: <a data-asana-gid='1203791243007683'/></li> | ||
<li>Run the following command: | ||
<ul> | ||
<li><code>gh release create ${TAG} --generate-notes --prerelease --notes-start-tag ${LAST_RELEASE_TAG}</code></li> | ||
</ul></li> | ||
</ul> | ||
Complete this task when ready and proceed with testing the build. | ||
🔗 Workflow URL: <a href='${WORKFLOW_URL}'>${WORKFLOW_URL}</a>. | ||
</body> |
16 changes: 16 additions & 0 deletions
16
.github/actions/asana-log-message/templates/internal-release-ready-tag-failed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
data: | ||
html_text: | | ||
<body> | ||
<h2>[ACTION NEEDED] Internal release build ${TAG} ready</h2> | ||
<ul> | ||
<li>📥 DMG is available from <a href='${DMG_URL}'>${DMG_URL}</a>.</li> | ||
<li><b>❗️ Tagging repository failed.</b></li> | ||
<li><b>⚠️ GitHub release creation was skipped.</b></li> | ||
<li><b>⚠️ Merging <code>${BRANCH}</code> to <code>${BASE_BRANCH}</code> was skipped.</b></li> | ||
</ul> | ||
<a data-asana-gid='${ASSIGNEE_ID}'/>, please proceed with manual tagging and merging <a data-asana-gid='${TASK_ID}' data-asana-dynamic='false'>according to instructions</a>. | ||
🔗 Workflow URL: <a href='${WORKFLOW_URL}'>${WORKFLOW_URL}</a>. | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters