]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Tell the user to check out the latest tag rather than the branch.
authorPeter Powell <petpow@saberuk.com>
Fri, 26 Oct 2018 01:57:13 +0000 (02:57 +0100)
committerPeter Powell <petpow@saberuk.com>
Fri, 26 Oct 2018 01:57:13 +0000 (02:57 +0100)
When the InspIRCd 3.x branch forks this will tell the user to go
back to the latest tag on the branch.

README.md
configure

index 8c491cda9f9d0405a9982f64c759e4275d7a9de0..be5d1ceadc884b478c8c814cf8612666e86f171f 100644 (file)
--- 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).
 
index ee11086b5d856cb792b63eb316e559ff922ddb6d..3badba2c6cb72e96797a2d026da18bf2b3dcf9a7 100755 (executable)
--- 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;