Skip to content

Commit

Permalink
feat: auto godoc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jun 18, 2020
1 parent bbec620 commit b6c252a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -45,3 +45,10 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Register version on pkg.go.dev
#if: steps.semantic.outputs.new-release-published == 'true'
run: |
package=$(cat go.mod | grep ^module | awk '{print $2}')
version=${{ steps.semantic.outputs.new_release_version }}
curl -i https://proxy.golang.org/$package/@v/$version.info || true

0 comments on commit b6c252a

Please sign in to comment.