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

feat: add manifest version #38

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
log.info """\
TOOL_NAME
TOOL_NAME $workflow.manifest.version
=============
NF version : $nextflow.version
runName : $workflow.runName
Expand Down
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,16 @@ dag {
}
includeConfig 'conf/modules.config'

String pipeline_version = new File("${projectDir}/VERSION").text

manifest {
name = "CCBR/TOOL_NAME"
author = "CCR Collaborative Bioinformatics Resource"
homePage = "https://github.com/CCBR/TOOL_NAME"
description = "TODO one-line description of TOOL_NAME goes here"
mainScript = "main.nf"
defaultBranch = "main"
version = "${pipeline_version}"
}

// Function to ensure that resource requirements don't go beyond
Expand Down
Loading