File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git -c log.showSignature=false log --f
238238# across time.
239239time-machine () {
240240 # shellcheck disable=SC2086
241- guix time-machine --url=https://git.savannah.gnu. org/git /guix.git \
241+ guix time-machine --url=https://codeberg. org/guix.git \
242242 --commit=ae03f401381e956c4c41b4cf495cbde964fa43d0 \
243243 --cores=" $JOBS " \
244244 --keep-failed \
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git -c log.showSignature=false log --f
226226# across time.
227227time-machine () {
228228 # shellcheck disable=SC2086
229- guix time-machine --url=https://git.savannah.gnu. org/git /guix.git \
229+ guix time-machine --url=https://codeberg. org/guix.git \
230230 --commit=ae03f401381e956c4c41b4cf495cbde964fa43d0 \
231231 --cores=" $JOBS " \
232232 --keep-failed \
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$
2828 RAWDESC=$( git describe --abbrev=0 2> /dev/null)
2929 if [ " $( git rev-parse HEAD) " = " $( git rev-list -1 " $RAWDESC " 2> /dev/null) " ]; then
3030 git diff-index --quiet HEAD -- && GIT_TAG=$RAWDESC
31+ # Replace elements- tag with the corresponding v
32+ case " $GIT_TAG " in elements-* ) GIT_TAG=" v${GIT_TAG# elements-} " ;; esac
3133 fi
3234
3335 # otherwise generate suffix from git, i.e. string like "59887e8-dirty"
You can’t perform that action at this time.
0 commit comments