diff --git a/.version b/.version index 54af2b630..f21e72b82 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.2.500 \ No newline at end of file +0.2.501 \ No newline at end of file diff --git a/README.md b/README.md index 50685fad3..2c9ef26e4 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,18 @@ go build ### install-snapshot -Build and install to ~/bin +Build and install current version. ```sh -rm cmd/templ/lspcmd/*.txt || true +# Remove templ from the non-standard ~/bin/templ path +# that this command previously used. +rm -f ~/bin/templ +# Clear LSP logs. +rm -f cmd/templ/lspcmd/*.txt +# Update version. go run ./get-version > .version -cd cmd/templ && go build -o ~/bin/templ +# Install to $GOPATH/bin or $HOME/go/bin +cd cmd/templ && go install ``` ### build-snapshot