diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56b6f2fce20c8ad77c53de70d9dbaa484190d0e6..8f006a55f96f6a83ab93fb480a6d359a49fb4144 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ update_readme: script: - echo $CI_PROJECT_NAME # Sanity check - - sed -ie "s/{THIS}/$CI_PROJECT_NAME/g" README.md \ No newline at end of file + - sed -ie "s/{THIS_VERSION}/$(printf "mk7.%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")/g" README.md diff --git a/README.md b/README.md index 719b76ad1074e8554426095c2ca6bc0109e7882b..75179968b7fa75162ac7a60d8b35b995063f2658 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# lektor mk 7 +# lektor THIS_VERSION -[](https://git.iiens.net/martin2018/lektor/-/commits/master) +[](https://git.iiens.net/martin2018/lektor/-/commits/master) A Karaoke player made to replace the old bash scripts on Sakura. They will enable one to have a database and make requests over the network.