@@ -34,6 +34,8 @@ This command is not really handy to run to get build metadata, though, because
it requires the project to have been compiled at least once in `dev` mode. It is
therefore more handy to read the VERSION file.
+Note : do not forget to push the tags onto the origin repository !
+
### PostgreSQL role
In `dev` as well as in `prod` modes, the role used in `config/#{mode}.exs` must
@@ -2,7 +2,7 @@
# Install git hooks
CHECK_FORMAT="mix format --check-formatted"
-WRITE_VERSION="git describe --always --tags --match "v*" | sed 's/^v//' | sed 's/-/+/2' > VERSION"
+WRITE_VERSION="git describe --tags --match "v*" | sed 's/^v//' | sed 's/-/+/2' > VERSION"
cat <<EOF > .git/hooks/pre-commit
#!/bin/sh