summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-10-26 02:57:13 +0100
committerPeter Powell <petpow@saberuk.com>2018-10-26 02:57:13 +0100
commit0e397ff7217a1b2232d9a045884fe71f7716c0f7 (patch)
tree9317fe096ad4c9b59ed1a32d7e2ace7faf9aaba5
parent2d50984185c7902d37783a98f19637c86694a452 (diff)
Tell the user to check out the latest tag rather than the branch.
When the InspIRCd 3.x branch forks this will tell the user to go back to the latest tag on the branch.
-rw-r--r--README.md2
-rwxr-xr-xconfigure3
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8c491cda9..be5d1cead 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ If you encounter any bugs then [please file an issue](https://github.com/inspirc
## Installation
-**The `master` branch contains the latest development version. If you are running a server then you probably want the `insp20` branch. You can obtain this from [the releases page](https://github.com/inspircd/inspircd/releases) or by running `git checkout insp20` if you are installing via Git.**
+**The `master` branch contains the latest development version. If you are running a server then you probably want the `insp20` branch. You can obtain this from [the releases page](https://github.com/inspircd/inspircd/releases) or by running `git checkout $(git describe --abbrev=0 --tags insp20)` if you are installing via Git.**
Most InspIRCd users running a UNIX-like system build from source. A guide about how to do this is available on [the InspIRCd wiki](https://wiki.inspircd.org/Installation_From_Source).
diff --git a/configure b/configure
index ee11086b5..3badba2c6 100755
--- a/configure
+++ b/configure
@@ -244,7 +244,8 @@ affect the running of your server. It is recommended that you use a stable
version instead.
You can obtain the latest stable version from http://www.inspircd.org/ or by
-running `git checkout insp20` if you are installing from Git.
+running `<|GREEN git checkout $(git describe --abbrev=0 --tags insp20)|>` if you are
+installing from Git.
EOW
if (!prompt_bool $interactive, 'I understand this warning and want to continue anyway.', $opt_development // 0) {
say STDERR 'If you understand this warning and still want to continue pass the --development flag.' unless $interactive;