Repository: JoshuaKGoldberg/create-typescript-app (ts)

Issue:
🛠 Tooling: Investigate simplifying release commenter version name
### Bug Report Checklist

- [X] I have tried restarting my IDE and the issue persists.
- [X] I have pulled the latest `main` branch of the repository.
- [X] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue.

### Overview

Following #427 -> #428: per https://github.com/apexskier/github-release-commenter/issues/432, it looks like `${{ payload.release.tag_name }}` should be usable to get the tag name of the released version. It'd be nice to use that instead of having to manually `run` a command: https://github.com/JoshuaKGoldberg/create-typescript-app/blob/d53c4eea73e084307a2d5eb9386727d0e3bf91ac/.github/workflows/post-release.yml#L8

Investigation required. If this strategy does work, hooray! Accepting PRs!

### Additional Info

_No response_

Pull request description:
fix: use payload.release.tag_name for npm package release
## PR Checklist

- [x] Addresses an existing open issue: fixes #1115
- [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken

## Overview

Uses `${{ payload.release.tag_name }}` this time, as suggested.

💖 

Patch:
diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml
index 3361bc9..f898971 100644
--- a/.github/workflows/post-release.yml
+++ b/.github/workflows/post-release.yml
@@ -14,7 +14,7 @@ jobs:
             The release is available on:
 
             * [GitHub releases](https://github.com/JoshuaKGoldberg/create-typescript-app/releases/tag/{release_tag})
-            * [npm package (@latest dist-tag)](https://www.npmjs.com/package/create-typescript-app/v/{release_tag})
+            * [npm package (@latest dist-tag)](https://www.npmjs.com/package/create-typescript-app/v/{${{ payload.release.tag_name }}})
 
             Cheers! 📦🚀
 
diff --git a/src/steps/writing/creation/dotGitHub/createWorkflows.ts b/src/steps/writing/creation/dotGitHub/createWorkflows.ts
index 6b2f7c2..e1f9a0a 100644
--- a/src/steps/writing/creation/dotGitHub/createWorkflows.ts
+++ b/src/steps/writing/creation/dotGitHub/createWorkflows.ts
@@ -164,7 +164,7 @@ export function createWorkflows(options: Options) {
 							The release is available on:
 
 							* [GitHub releases](https://github.com/${options.owner}/${options.repository}/releases/tag/{release_tag})
-							* [npm package (@latest dist-tag)](https://www.npmjs.com/package/${options.repository}/v/{release_tag})
+							* [npm package (@latest dist-tag)](https://www.npmjs.com/package/${options.repository}/v/{\${{ payload.release.tag_name }}})
 
 							Cheers! 📦🚀
 						`,


Test patch:
diff --git a/src/steps/writing/creation/dotGitHub/createWorkflows.test.ts b/src/steps/writing/creation/dotGitHub/createWorkflows.test.ts
index 03b9600..27c9413 100644
--- a/src/steps/writing/creation/dotGitHub/createWorkflows.test.ts
+++ b/src/steps/writing/creation/dotGitHub/createWorkflows.test.ts
@@ -206,7 +206,7 @@ describe("createWorkflows", () => {
 			              The release is available on:
 
 			              * [GitHub releases](https://github.com/StubOwner/stub-repository/releases/tag/{release_tag})
-			              * [npm package (@latest dist-tag)](https://www.npmjs.com/package/stub-repository/v/{release_tag})
+			              * [npm package (@latest dist-tag)](https://www.npmjs.com/package/stub-repository/v/{\${{ payload.release.tag_name }}})
 
 			              Cheers! 📦🚀