1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl pcre common-updater-scripts
6 version
="$(curl -fsSL https://trunk.io/releases/trunk | grep -Fi 'readonly TRUNK_LAUNCHER_VERSION=' | pcregrep -o1 '"(\d
+(?
:\.\d
+)+)"')"
7 update-source-version trunk-io
"$version"