Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing upgrade time to 2 hours and go releaser to prevent overwrite release descrition #1009

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# helper functions
extract_txhash() { awk -F 'txhash: ' '/txhash:/{print $2; exit}'; }
extract_proposal_id() { awk -F 'key: proposal_id|value: ' '/key: proposal_id/ { getline; gsub(/"/, "", $2); print $2; exit }'; }
extract_and_calc_upgrade_height() { awk -F'"latest_block_height":"' '{ split($2,a,"\""); print a[1]+450; exit }'; }
extract_and_calc_upgrade_height() { awk -F'"latest_block_height":"' '{ split($2,a,"\""); print a[1]+1800; exit }'; }
extract_checksum() { awk "/elysd-${{ github.ref_name }}-linux-amd64.tar.gz/ {print \$1; exit}"; }

# environment variables
Expand Down
26 changes: 3 additions & 23 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,25 +144,9 @@ release:
github:
owner: elys-network
name: elys
replace_existing_draft: true
replace_existing_draft: false
header: |
## Description

Proposal: https://testnet.ping.pub/elys/gov/XXX

We're thrilled to announce the launch of Elys Network v{{ .Version }}! This update is primarily focused on enhancements and codebase improvements. Here’s a brief overview of what’s new:

### Changes

* item 1
* item 2
* item 3
* ...

This release is part of our continuous effort to refine and optimize Elys Network. We appreciate the dedication and expertise of our contributors who help make Elys Network more robust and user-friendly.

Thank you for your ongoing support of Elys Network!


## ⚡️ Binaries

Binaries for Linux and Darwin (amd64 and arm64) are available below.
Expand All @@ -177,12 +161,8 @@ release:
cd elys && git checkout v{{ .Version }}
make install
````

## What's Changed

See the full changelog [here](https://github.com/elys-network/elys/blob/v{{ .Version }}/CHANGELOG.md)
name_template: "v{{.Version}}"
mode: replace
mode: append
draft: false
# Docs: https://goreleaser.com/customization/announce/
# We could automatically announce the release in
Expand Down
Loading