From fb587b1a7690c18bcb5e1fc9bce6447bc9decbc3 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sat, 29 Apr 2023 20:18:00 +0800 Subject: [PATCH] fix(main): add username for release (#13) Signed-off-by: cuisongliu --- .github/workflows/release.yml | 1 + .goreleaser.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30efe29..f9c17c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,3 +32,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }} VERSION: ${{ steps.prepare.outputs.tag_name }} + USERNAME: ${{ github.repository_owner }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 65c51c8..9f4df65 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -70,7 +70,7 @@ release: We are excited to present to you the latest tool from labring: sealpkg {{ .Tag }}! footer: | - **Full Changelog**: https://github.com/{{ .Env.USERNAME }}/sealpkg/compare/{{ .PreviousTag }}...{{ .Tag }} + **Full Changelog**: https://github.com/{{ .Env.USERNAME }}/{{ .ProjectName }}/compare/{{ .PreviousTag }}...{{ .Tag }} * * *