diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index cc55118..f4b84e8 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -23,11 +23,11 @@ jobs: run: | curl --user lovezsh:${{secrets.ACTION_ACCESS_GIT}} \ --upload-file ./nip \ - https://git.lovezsh.com/api/packages/lovezsh/generic/nip/1.0.0/nip_linux_amd64 + https://git.lovezsh.com/api/packages/lovezsh/generic/nip/${{gitea.ref_name}}/nip_linux_amd64 - name: 上传lwindows编译文件 run: | curl --user lovezsh:${{secrets.ACTION_ACCESS_GIT}} \ --upload-file ./nip.exe \ - https://git.lovezsh.com/api/packages/lovezsh/generic/nip/1.0.0/nip_windows_amd64.exe + https://git.lovezsh.com/api/packages/lovezsh/generic/nip/${{gitea.ref_name}}/nip_windows_amd64.exe \ No newline at end of file