mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Added release handling on tags
This commit is contained in:
parent
b8fd5d0486
commit
25fdf6fc65
1 changed files with 19 additions and 0 deletions
19
.github/workflows/docker.yml
vendored
19
.github/workflows/docker.yml
vendored
|
|
@ -116,3 +116,22 @@ jobs:
|
||||||
inputs: "${{ steps.meta.outputs.tags }}"
|
inputs: "${{ steps.meta.outputs.tags }}"
|
||||||
images: "${{ steps.image.outputs.ID }}-amd64, ${{ steps.image.outputs.ID }}-arm64"
|
images: "${{ steps.image.outputs.ID }}-amd64, ${{ steps.image.outputs.ID }}-arm64"
|
||||||
push: true
|
push: true
|
||||||
|
|
||||||
|
- name: Extract assets
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
run: |
|
||||||
|
docker cp $(docker create ${{ steps.image.outputs.ID }}-amd64):/usr/local/bin/geth /geth_linux
|
||||||
|
docker cp $(docker create ${{ steps.image.outputs.ID }}-arm64):/usr/local/bin/geth /geth_linux_arm64
|
||||||
|
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
draft: true
|
||||||
|
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
|
||||||
|
files: |
|
||||||
|
/geth_linux
|
||||||
|
/geth_linux_arm64
|
||||||
|
body: |
|
||||||
|
**Changes:**
|
||||||
|
$(git log --pretty=format:"%h %s" ${{ github.ref }}^..${{ github.ref }})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue