Skip to content

Commit

Permalink
Merge pull request #47 from moul/dev/moul/auto-godoc
Browse files Browse the repository at this point in the history
feat: auto godoc workflow
  • Loading branch information
moul committed Jun 18, 2020
2 parents bbec620 + a4cf384 commit 59275d6
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 59275d6

Please sign in to comment.