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

add charm path release action #80

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

agathanatasha
Copy link
Contributor

@agathanatasha agathanatasha commented Apr 5, 2022

Release action fails because it can't find metadata.yaml file in the directory.
Provide charm-path to release action. Use tag-prefix as input as it is the same as the directory names. This way users have one less field to fill

use tag-prefix as input as it is the same as the directory names
@agathanatasha agathanatasha requested a review from a team as a code owner April 5, 2022 21:56
@agathanatasha agathanatasha self-assigned this Apr 5, 2022
Comment on lines 16 to 17
description: "Tag Prefix"
required: true
Copy link
Contributor

Choose a reason for hiding this comment

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

This is effectively charm-subdir-name, as by convention we're mapping both release tag and charms/___ to the same variable. Can we rename it?

some options:

  • charm-subdir-name: This feels most correct (that's what we're actually using it for). Although we do reuse this variable both for setting the charm-path below and for prefixing the release tag, so there's some obfuscation in the name
  • charm-name: this feels cleaner to me, but relies on the convention that we name our charms/___ by charm name.

@agathanatasha agathanatasha force-pushed the KF-266/second-attempt-on-release-action branch from 40b6e95 to 7a995c8 Compare April 6, 2022 19:43
@ca-scribner ca-scribner merged commit ed939f3 into master Apr 6, 2022
@ca-scribner ca-scribner deleted the KF-266/second-attempt-on-release-action branch April 6, 2022 19:55
DnPlas pushed a commit that referenced this pull request May 5, 2022
* add charm path release action
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.

None yet

2 participants