Skip to content

Commit 885bfde

Browse files
committed
Fix GitHub Action scripts
1 parent 0a9d293 commit 885bfde

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Release to pkg.go.dev
14-
run: curl https://proxy.golang.org/github.com/GearBoxLab/core/@v/$GITHUB_REF_NAME.info
14+
run: |
15+
ESCAPED_MODULE=$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]')
16+
curl https://proxy.golang.org/github.com/$ESCAPED_MODULE/@v/$GITHUB_REF_NAME.info

0 commit comments

Comments
 (0)