diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8fc7e37..4f8d49d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,8 @@ name: Release + on: push: + branches: [main] env: GH_TOKEN: ${{ github.token }} @@ -42,7 +44,7 @@ jobs: name: Create New Release run: | gh release \ - create "$RELEASE" \ + create "v${{ steps.get-version.outputs.version }}" \ --generate-notes \ --latest \ sver