File: version.sh

package info (click to toggle)
relic 7.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,108 kB
  • sloc: sh: 230; makefile: 10
file content (2 lines) | stat: -rwxr-xr-x 91 bytes parent folder | download
1
2
#!/bin/bash
git describe --tags --dirty=+ |sed -e 's/-\([0-9]*\).*/+\1/' | sed -e 's/^v//'