diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e21dc4..13f11e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,8 @@ name: Go on: push: - branches: - - master + tags: + - "v[0-9]+.[0-9]+.[0-9]*" jobs: build: @@ -41,12 +41,18 @@ jobs: with: merge-multiple: true + - name: Info + run: | + echo ${{ github.ref }} + ls -al + - name: Create Release id: create_release uses: softprops/action-gh-release@v2 with: name: Release ${{ github.ref }} + tag_name: ${{ github.ref }} files: | - gclone + goclone draft: false prerelease: false