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

#issue-19: add ability to define version and app-version of created helm package #20

Merged
merged 1 commit into from
Jan 6, 2021
Merged

#issue-19: add ability to define version and app-version of created helm package #20

merged 1 commit into from
Jan 6, 2021

Conversation

WojcikMM
Copy link
Contributor

This should be usefull i.e. when user use 'release' publish schema.
When no value is defined then values are getted from chart.yaml ( as previously ).
This makes no breacking change in API. Only extend ablilities.

@WojcikMM WojcikMM changed the title issue-19: add ability to define version and app-version of created helm package #issue-19: add ability to define version and app-version of created helm package Dec 26, 2020
Copy link
Owner

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @WojcikMM 🥇

@stefanprodan stefanprodan merged commit 2921666 into stefanprodan:master Jan 6, 2021
@stefanprodan
Copy link
Owner

@WojcikMM
Copy link
Contributor Author

WojcikMM commented Jan 6, 2021

Strange. It breaks on some "stat"

@stefanprodan
Copy link
Owner

Have you tested this?

package() {
  [[ -z $APP_VERSION ]] || APP_VERSION_CMD=" --app-version $APP_VERSION";
  [[ -z $CHART_VERSION ]] || CHART_VERSION_CMD=" --version $CHART_VERSION"

  helm package ${CHARTS[*]} --destination ${CHARTS_TMP_DIR} "$APP_VERSION_CMD" "$CHART_VERSION_CMD"
}

I think it needs a ;

@mwojcik-llx
Copy link

Of course i test it before i create PR. But maybe there is some older syntax supported and sure ";" could makes problem. But i am suprised

@stefanprodan stefanprodan mentioned this pull request Jan 6, 2021
@mwojcik-llx
Copy link

@stefanprodan then this could be mark as done ? #19

@stefanprodan
Copy link
Owner

Yes feel free to close it.

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.

3 participants