| author | |
| committer | |
| log | 7a3f21e7ca4f63c353284542d2dfbb568a3c803e |
| tree | 8a977c3b9aecc8b7bf53127262cc98639d88fac2 |
| parent | 17b43960e86335534c63fb2b93ea68300b3bcc62 |
| signature | Signed by PGP key B5690EEEBB952194 |
Co-authored-by: Julius Marminge <julius@macmini.local>2 files changed, 6 insertions(+), 6 deletions(-)
.github/workflows/release.yml+2-2| ... | ... | @@ -628,7 +628,7 @@ jobs: |
| 628 | 628 | node scripts/notify-discord-release.ts prerelease \ |
| 629 | 629 | --role-id "$DISCORD_MENTION_ROLE_ID" \ |
| 630 | 630 | --release-name "${{ needs.preflight.outputs.release_name }}" \ |
| 631 | --version "${{ needs.preflight.outputs.version }}" \ | |
| 631 | --release-version "${{ needs.preflight.outputs.version }}" \ | |
| 632 | 632 | --tag "${{ needs.preflight.outputs.tag }}" \ |
| 633 | 633 | --release-url "https://github.com/${{ github.repository }}/releases/tag/${{ needs.preflight.outputs.tag }}" |
| 634 | 634 | |
| ... | ... | @@ -642,6 +642,6 @@ jobs: |
| 642 | 642 | node scripts/notify-discord-release.ts latest \ |
| 643 | 643 | --role-id "$DISCORD_MENTION_ROLE_ID" \ |
| 644 | 644 | --release-name "${{ needs.preflight.outputs.release_name }}" \ |
| 645 | --version "${{ needs.preflight.outputs.version }}" \ | |
| 645 | --release-version "${{ needs.preflight.outputs.version }}" \ | |
| 646 | 646 | --tag "${{ needs.preflight.outputs.tag }}" \ |
| 647 | 647 | --release-url "https://github.com/${{ github.repository }}/releases/tag/${{ needs.preflight.outputs.tag }}" |
scripts/notify-discord-release.ts+4-4| ... | ... | @@ -173,7 +173,7 @@ export const notifyDiscordReleaseCommand = Command.make( |
| 173 | 173 | Flag.withSchema(Schema.NonEmptyString), |
| 174 | 174 | Flag.withDescription("Human-readable release name."), |
| 175 | 175 | ), |
| 176 | version: Flag.string("version").pipe( | |
| 176 | releaseVersion: Flag.string("release-version").pipe( | |
| 177 | 177 | Flag.withSchema(Schema.NonEmptyString), |
| 178 | 178 | Flag.withDescription("Release version."), |
| 179 | 179 | ), |
| ... | ... | @@ -186,7 +186,7 @@ export const notifyDiscordReleaseCommand = Command.make( |
| 186 | 186 | Flag.withDescription("Public GitHub release URL."), |
| 187 | 187 | ), |
| 188 | 188 | }, |
| 189 | ({ target, roleId, releaseName, version, tag, releaseUrl }) => | |
| 189 | ({ target, roleId, releaseName, releaseVersion, tag, releaseUrl }) => | |
| 190 | 190 | Effect.gen(function* () { |
| 191 | 191 | yield* Effect.logInfo("discord release announcement starting").pipe( |
| 192 | 192 | Effect.annotateLogs({ |
| ... | ... | @@ -194,7 +194,7 @@ export const notifyDiscordReleaseCommand = Command.make( |
| 194 | 194 | roleIdProvided: roleId.length > 0, |
| 195 | 195 | roleIdLength: roleId.length, |
| 196 | 196 | releaseName, |
| 197 | version, | |
| 197 | version: releaseVersion, | |
| 198 | 198 | tag, |
| 199 | 199 | releaseUrl, |
| 200 | 200 | }), |
| ... | ... | @@ -205,7 +205,7 @@ export const notifyDiscordReleaseCommand = Command.make( |
| 205 | 205 | target, |
| 206 | 206 | roleId, |
| 207 | 207 | releaseName, |
| 208 | version, | |
| 208 | version: releaseVersion, | |
| 209 | 209 | tag, |
| 210 | 210 | releaseUrl, |
| 211 | 211 | timestamp: new Date().toISOString(), |