Skip to content

Add template to bump - #410

Closed
dappnodedev wants to merge 5 commits into
dappnodedev/enable-templatingfrom
dappnodedev/add-template-to-bump
Closed

Add template to bump#410
dappnodedev wants to merge 5 commits into
dappnodedev/enable-templatingfrom
dappnodedev/add-template-to-bump

Conversation

@dappnodedev

Copy link
Copy Markdown
Contributor

Enable bump action to edit manifest and compose files of a template package repository

@dappnodedev
dappnodedev force-pushed the dappnodedev/add-template-to-bump branch from be5de55 to 68dac9c Compare March 25, 2024 10:20
@github-actions

github-actions Bot commented Mar 25, 2024

Copy link
Copy Markdown

DAppNode bot has built and pinned the release to an IPFS node, for commit: b79f137

This is a development version and should only be installed for testing purposes, install link

/ipfs/QmeTMJEn2uP78YcjXgSLRPVFRSCQGqY2PALmpVdztdxmfc

(by dappnodebot/build-action)

manifestFileName?: string;
}): VariantManifestMap {
const variantsMap: VariantManifestMap = {};
const fullVariantsDirPath = path.join(dir, variantsDir);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should dir and variantsDir be somewhat sanitized so that fullVariantsDirPath is correctly built? It is crucial that it is a correct path

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actually if the path is empty or it does not exist it will either throw an error (caught in the parent function) or return an empty array so there will be no variants to modify. I'd say this is enough

@dappnodedev

Copy link
Copy Markdown
Contributor Author

Overridden by #418

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.

Implement template build tests Implement bump-upstream command with --template flag

2 participants