Skip to content

Commit

Permalink
app/tag-hook: Add back the cd call.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaq committed Feb 7, 2024
1 parent 4d365c2 commit 044e786
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/tag-hook
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ SRC_DIR=`mktemp -d`
trap "rm -rf $SRC_DIR" exit
git clone --depth=1 --branch="$TAG" https://github.com/elves/elvish $SRC_DIR

ELVISH_BUILD_VARIANT=official $SRC_DIR/tools/buildall.sh . $BIN_DIR $TAG
(
# This is necessary for go build to find the current module
cd $SRC_DIR
ELVISH_BUILD_VARIANT=official tools/buildall.sh . $BIN_DIR $TAG
)

`dirname $0`/update-index

0 comments on commit 044e786

Please sign in to comment.