diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86356c6aa8..eca40357c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,10 +2,10 @@ name: Release on: push: - branches: - - "main" tags: - "v1.*" + branches: + - "release/v1.*" jobs: extract-version: @@ -125,7 +125,6 @@ jobs: name: Draft Release needs: [extract-version, linux-intel, linux-arm] runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') env: VERSION: ${{ needs.extract-version.outputs.VERSION }} permissions: @@ -134,7 +133,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # This is necessary for generating the changelog - fetch-tags: true # Ensure tags are fetched - name: Download all artifacts uses: actions/download-artifact@v4 @@ -189,7 +187,7 @@ jobs: # We just need to ensure gh release uses it correctly body=$(cat <<- 'ENDBODY' - ![bera-geth](https://raw.githubusercontent.com/berachain/bera-geth/main/.github/meta/bera-geth.png) + ![image](https://raw.githubusercontent.com/berachain/bera-geth/main/.github/meta/bera-geth.png) ## Summary @@ -259,7 +257,6 @@ jobs: # Using --target with GITHUB_SHA ensures we create the release at the right commit echo "$body" | gh release create "$RELEASE_TAG" \ --draft \ - --target "${{ github.sha }}" \ --title "Bera-Geth $RELEASE_TAG" \ -F - \ "${assets[@]}"