diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6248dc7..bcf8a200 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -177,7 +177,7 @@ jobs: GH_TOKEN: ${{ steps.releaser.outputs.token }} VERSION: ${{ steps.version.outputs.new }} run: | - gh release create "v$VERSION" --target main --generate-notes + gh release create "$VERSION" --target main --generate-notes - name: Send failure event to PostHog if: failure() @@ -190,7 +190,7 @@ jobs: "commitSha": "${{ github.sha }}", "jobStatus": "${{ job.status }}", "ref": "${{ github.ref }}", - "version": "v${{ steps.version.outputs.new }}" + "version": "${{ steps.version.outputs.new }}" } - name: Notify Slack - Failed @@ -200,7 +200,7 @@ jobs: slack_bot_token: ${{ secrets.SLACK_CLIENT_LIBRARIES_BOT_TOKEN }} slack_channel_id: ${{ vars.SLACK_APPROVALS_CLIENT_LIBRARIES_CHANNEL_ID }} thread_ts: ${{ needs.notify-approval-needed.outputs.slack_ts }} - message: "❌ Failed to release `posthog-dotnet@v${{ steps.version.outputs.new }}`! " + message: "❌ Failed to release `posthog-dotnet@${{ steps.version.outputs.new }}`! " emoji_reaction: "x" notify-rejected: