Skip to content

Commit

Permalink
wip: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Dec 23, 2023
1 parent fc97a2e commit 9d5fc66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/guix/libexec/prelude.bash
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ time-machine() {
# Set common variables
################

echo "DEBUG: git_head_version: '$(git_head_version)'"
echo "DEBUG: PWD: '${PWD}'"
git tag
git describe --abbrev=12 --dirty --debug

VERSION="${FORCE_VERSION:-$(git_head_version)}"
DISTNAME="${DISTNAME:-dashcore-${VERSION}}"

Expand Down
1 change: 1 addition & 0 deletions contrib/shell/git-utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ git_root() {
}

git_head_version() {
local recent_tag
recent_tag="$(git describe --abbrev=12 --dirty 2> /dev/null)"
echo "${recent_tag#v}"
}

0 comments on commit 9d5fc66

Please sign in to comment.