chore: update yml files for ibc tokens script #249
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
-- yaml build scripts will now check if there was any updates to
ibcTokenMetadata.json
during the build. if so, it will push a new commit to handle the update, which should propogate along with the publish stepHow the 'Commit ibcTokenMetadata.json if changed' step works
ibcTokenMetadata.json
and the potentially updated one from the buildgit add
/git commit
logic will executegit diff --exit-code
command will return0
, so thegit add
/git commit
steps will not executeNote: took some time to come up with this but seems to work nicely
Testing Completed
injective-ts
-> updated package names to where they would publish to@shane-moore/...
instead of to@injectivelabs/
. then, I updated theibcTokenMetadata.json
to test the change. I pushed the update to my forked repo under atest
branch, which kicked off the github actions pipeline, and it published the new@shane-moore/sdk-ui-ts
. I also tried a few more times to verify that it would work over time