Skip to content
Snippets Groups Projects
add_version.sh 107 B
Newer Older
  • Learn to ignore specific revisions
  • David Hrbáč's avatar
    David Hrbáč committed
    #!/bin/bash
    
    David Hrbáč's avatar
    David Hrbáč committed
    VER=$(git log --pretty=format:'/ ver. %h / %ai' -n 1)
    sed "s,__VERSION__, $VER," mkdocs.yml -i