Logo
Explore Help
Sign In
natalie/indefero
1
0
Fork 0
You've already forked indefero
Code Issues Pull Requests Releases Wiki Activity
indefero/src/IDF/version.php

6 lines
85 B
PHP
Raw Normal View History

Add basic source version tracking. Indefero's version is now noted in src/IDF/version.php; just before a release is made, the '-dev' is removed and after the release is made, the version should be increased and '-dev' should be added back to denote that the development for the next version started. The revision identifier is automatically set when an archive is created and is based on the revision that the archive creator gave to git-archive(1). If people follow development, we try to get the current deployed version with git-log(1) and if that fails as well, the revision is determined to be 'unknown'. Version and revision are then rendered as HTML meta tags in the header of each template. (All this is done by the new {appversion} tag.)
2011-03-20 00:42:56 +01:00
<?php
return array(
'version' => '1.1-dev',
'revision' => '$Format:%H$',
);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 31ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API