Skip to content

Commit

Permalink
feat(cli)!: get version from file instead of git commit hash
Browse files Browse the repository at this point in the history
resolves #7
  • Loading branch information
kelly-sovacool committed Nov 20, 2023
1 parent 7b9b978 commit 0faa0ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0-dev
4 changes: 2 additions & 2 deletions tranquil
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ SCRIPTSDIR="$PIPELINE_HOME/workflow/scripts"
echo -ne "Pipeline Dir: \t\t $PIPELINE_HOME\n"
SNAKEFILE="${PIPELINE_HOME}/workflow/Snakefile"
echo -ne "Snakefile: \t\t $SNAKEFILE\n"
GIT_COMMIT_TAG=$(get_git_commitid_tag $PIPELINE_HOME)
echo -ne "Git Commit/Tag: \t $GIT_COMMIT_TAG\n"
VERSION=$(cat ${PIPELINE_HOME}/VERSION)
echo -ne "Version: \t\t $VERSION\n"
echo -ne "Host: \t\t\t $HOST\n"

function usage_only() {
Expand Down

0 comments on commit 0faa0ef

Please sign in to comment.