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

fix: Add input append_body and generate_release_notes, set both to true #286

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

0xFable
Copy link
Contributor

@0xFable 0xFable commented Feb 21, 2024

This should:
Allow us to pass the artifact versions.txt and have it appended to the generated release notes https://github.com/softprops/action-gh-release/blob/4634c16e79c963813287e889244c50009e7f0981/src/github.ts#L244

Description and Motivation

Related Issues


Checklist:

  • I have read Migaloo's contribution guidelines.
  • My pull request has a sound title and description (not something vague like Update index.md)
  • All existing and new tests are passing.
  • I updated/added relevant documentation.
  • The code is formatted properly cargo fmt --all --.
  • Clippy doesn't report any issues cargo clippy -- -D warnings.
  • I have regenerated the schemas if needed cargo schema.

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (757117d) 94.46% compared to head (ced0ad6) 94.46%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #286   +/-   ##
=======================================
  Coverage   94.46%   94.46%           
=======================================
  Files         219      219           
  Lines       24858    24858           
=======================================
  Hits        23482    23482           
  Misses       1376     1376           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@nseguias nseguias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@kaimen-sano kaimen-sano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I'm unsure if we need both append_body and generate_release_notes, but can't hurt to have both.

The generate_release_notes docs state:

If body is specified, the body will be pre-pended to the automatically generated notes. See the GitHub docs for this feature for more information

@kerber0x kerber0x merged commit 43601d4 into main Feb 29, 2024
6 checks passed
@kerber0x kerber0x deleted the fix/release-text branch February 29, 2024 12:14
kerber0x added a commit that referenced this pull request Mar 1, 2024
* ci: add script to get contract versions

* ci: fix script for vault deployment

* ci: add script to extract pool information

* ci: add comments to extract_pools script to make it clear

* chore: since the pool factory is permissioned, remove the add_native_decimals check to allow other accounts via authz call this message without sending funds

* chore: bump pool factory version

* test: remove irrelevant add_native_decimals test

* ci: add artifact versions to github releases

* ci: fix release artifacts ci action

* ci: add chihuahua deployment to ci release script

* ci: remove the token factory release builds since the docker images don't exists

* ci: add osmosis chain to release script

* docs(contributing): add protobuf step, reference PyO3

* chore: add osmosis flag

* chore: factory osmosis flag

* chore: impl pair osmosis flag changes

* chore: impl 3pool osmosis flag

* chore: making clippy happy

* test: fixing tests for the osmosis flag

* chore: send osmosis fee to community pool

* chore: remove the uneccesary osmosis fee addr from factory and pools

* chore: make clippy happy

* ci: make release script add osmosis flag if needed

* ci: add vanilla variant to build release script for ci (#244)

* chore: fix pool factory migration to 1.2.0 condition (#250)

* ci: tweak env variables

* ci: script to extract vault info

* chore: prepare white-whale package for being published

* chore: print the white-whale package version when building release

* chore: renaming white-whale package to white-whale-std

* ci: add a few more commands to the justfile

* ci: fix and format bash scripts

* ci: fix doc link on white-whale-std

* chore: forces the protobuff version to be 3.2.0

* chore: forward fees from first epoch to the upcoming one

* chore: this removes the sanity check preventing to add burn fees to a pair or trio with token factory tokens

* ci: Specify body_path with artifact_Versions.txt on release to print the new contract versions

* ci: improve pre-commit hook

* feat: load chain env variables on demand

* feat(smart-contracts): add remove swap routes in pool router & clean-up clippy warnings

* feat(smart-contracts): add remove swap routes in pool router & clean-up clippy warnings

* chore(smart-contracts): regenerate all schemas

* feat(smart-contracts): add verbose error when trying to remove a swap route that does not exist

* chore: adds the osmosis pool ininterface to the pool config and verify where the swap is being executed

* test: add tests for the new cosmwasm_i_pool_interface value

* chore: bump pool contract version

* chore: fix clippy warnings

* ci: adds a script to install a local alias to load env variables on demand

* ci: consolidate base.env files into base_env.sh

* docs: improve message after script installation

* fix(smart-contracts): ignore possible errors when closing position on incentives

* chore(scripts): reverted commit as it was addressed in another PR

* ci: adds just recipes for deploying and store contracts

* ci: add recipe to migrate contracts

* chore(smart-contracts): disable-entrypoint-for-remove-swap-routes-in-pool-router

* chore(smart-contracts): make remove_swap_routes function private

* chore: add recipe for renaming aarch64 wasm files to make it compatible with other scripts

* fix(scripts): rename CHAIN-ID on sei.env

* fix: bump pool factory version to include the newly added cosmwasm_interface_contract param when updating pair configs on osmosis

* chore: publish a new version of the white-whale-std package including osme osmosis changes

* docs: Document usage of `just` command line runner (#283)

In #274 we introduced an env loader for the CLI to simplify and unify
our commands used in the repository. This commit documents the usage of
the `just` command runner for new users of the repository.

* ci: add narwhal-2 env variables

* fix: broken vault state migration (#284)

* fix: Add input append_body and generate_release_notes, set both to true (#286)

This should:
Allow us to pass the artifact versions.txt and have it appended to the generated release notes
https://github.com/softprops/action-gh-release/blob/4634c16e79c963813287e889244c50009e7f0981/src/github.ts#L244

* fix: clippy warning

* fix: use safe math

---------

Co-authored-by: kaimen-sano <[email protected]>
Co-authored-by: 0xFable <[email protected]>
Co-authored-by: nahem <[email protected]>
Co-authored-by: 0xFable <[email protected]>
Co-authored-by: nahem <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants