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

How to pass the runtime value to lark-message-config ? #3

Closed
pumbaamatata opened this issue Jul 28, 2022 · 4 comments
Closed

How to pass the runtime value to lark-message-config ? #3

pumbaamatata opened this issue Jul 28, 2022 · 4 comments

Comments

@pumbaamatata
Copy link

pumbaamatata commented Jul 28, 2022

My project version is dynamic generate when the ci, can i send the different version to lark-message-config?

Such as

MESSAGE_PATH=./lark-message-config-failed.json VERSION=1.2.3-SNAPSHOT send-lark-message
@guMcrey
Copy link
Owner

guMcrey commented Jul 28, 2022

Thanks for your suggestion, I will support passing in Version field in V1.2.4 to adapt the automatic Version generation.
It will be released today, please pay attention to the issue status 😄

@guMcrey
Copy link
Owner

guMcrey commented Jul 28, 2022

@pumbaamatata Hello, V1.2.4 has been released, it supports the dynamic fields, such as version, title, etc.

Can be used like this:

MESSAGE_PATH=./lark-message-config-failed.json MESSAGE_JSON='{\"version\":\"1.2.3-SNAPSHOT \"}' send-lark-message

See readme for more information: https://github.com/guMcrey/version-rocket#supports-incoming-dynamically-generated-card-copy

Thank you so much

Repository owner locked as resolved and limited conversation to collaborators Jul 28, 2022
Repository owner unlocked this conversation Jul 28, 2022
@guMcrey guMcrey closed this as completed Jul 28, 2022
@Akimyou
Copy link

Akimyou commented Jul 29, 2022

This feature is useful. Thanks.

@pumbaamatata
Copy link
Author

Sorry for the late reply.
MESSAGE_JSON is very flexible. Thank you
I will try it later.

---- from Jakarta

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

No branches or pull requests

3 participants