Last active
February 22, 2018 21:20
-
-
Save jjpmann/ddbf68a4dceee3a0dab451d0783a7171 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Versions and Changelog | |
Files kept in the repo for refrence of current version of the site and log of the changes. | |
## Changelog | |
http://keepachangelog.com/en/0.3.0/ | |
_Examples_ | |
Simple | |
https://github.com/jjpmann/ee-dt/blob/master/CHANGELOG.md | |
More Detail | |
https://github.com/laravel/laravel/blob/master/CHANGELOG.md | |
## Version | |
https://semver.org/ | |
_file Version.php_ | |
<?php | |
namespace App; | |
class Version | |
{ | |
/** | |
* The application version. | |
* | |
* @var string | |
*/ | |
protected static $version = '1.2.30'; | |
/** | |
* The previous application version. | |
* | |
* @var string | |
*/ | |
protected static $previous = '1.2.29'; | |
public static function current() | |
{ | |
return static::$version; | |
} | |
public static function previous() | |
{ | |
return static::$previous; | |
} | |
### CMS Helpers | |
_Wordpress and Drupal sites_ | |
Production | |
 | |
Development | |
 | |
### Version links | |
I created but have not used much, would be handy for supmon! | |
https://www.fishbowl.com/misc/version | |
https://www.fishbowl.com/misc/version?json | |
https://www.fishbowl.com/misc/version?shield |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment