Contemporary glissando 2

A contemporary glissando without a final note can be typeset using a hidden note and duration scaling.

\version "2.24.0"

melody = \relative c'' {
  \time 3/4
  c4 c4
  % Scale Duration of notes with *1/2
  c4*1/2-\tweak style #'zigzag \glissando
  % Hide the terminating note for the glissando
  \single \hideNotes
  % Adjust placement of the hidden note if needed
  \tweak X-offset #2 \tweak X-extent #'( 0 . 0 )
  e,4*1/2 |
  
  c'4 c4 c4
}
  
\score {
  <<
	\new Staff { \melody }
  >>
}