Skip to content

Commit

Permalink
Update version generation
Browse files Browse the repository at this point in the history
  • Loading branch information
nschcolnicov committed Dec 12, 2024
1 parent 3ae8c7c commit 35b031d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/nf-core/custom/tabulartogseacls/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ process CUSTOM_TABULARTOGSEACLS {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
awk: " \$(awk --version | head -n 1 | awk '{print \$2}')"
awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')"
END_VERSIONS
"""

Expand All @@ -45,7 +45,7 @@ process CUSTOM_TABULARTOGSEACLS {
touch mock.cls
cat <<-END_VERSIONS > versions.yml
"${task.process}":
awk: " \$(awk --version | head -n 1 | awk '{print \$2}')"
awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')"
END_VERSIONS
"""

Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/custom/tabulartogseagct/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ process CUSTOM_TABULARTOGSEAGCT {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
awk: " \$(awk --version | head -n 1 | awk '{print \$2}')"
awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')"
END_VERSIONS
"""

Expand All @@ -41,7 +41,7 @@ process CUSTOM_TABULARTOGSEAGCT {
touch mock.gct
cat <<-END_VERSIONS > versions.yml
"${task.process}":
awk: " \$(awk --version | head -n 1 | awk '{print \$2}')"
awk: " \$(mawk -W version | head -n 1 | awk '{print \$2}')"
END_VERSIONS
"""
}

0 comments on commit 35b031d

Please sign in to comment.