phpvms/config/version.yml
Nabeel S e6d38f9338
Add PHP 7.4 support (#464)
* Add PHP 7.4 to build matrix

* DB fix

* YAML parser fix in test data

* Show versions

* Package updates

* Track used ICAOs

* 7.4 METAR parsing fix

* METAR parser fix

* Formatting

* Add meters to response units

* Call instance for unit conversion

* Return value

* Catch exception for unknown quantity

* Comment fix

* Formatting

* METAR parsing fixes on PHP 7.4

* Package updates

* More random airport ID

* More random airport ID

* Properly disable toolbar

* Semver written out to version file

* Use dev as default identifier
2019-12-11 12:57:18 -05:00

33 lines
893 B
YAML

version_source: config
current:
major: 7
minor: 0
patch: 0
prerelease: 'dev'
buildmetadata: ''
commit: ''
git_absorb: git-local
format: '{$major}.{$minor}.{$patch}'
build:
mode: number
length: 6
number:
git_absorb: git-local
git:
git-local: 'git rev-parse --verify HEAD'
git-remote: 'git ls-remote {$repository}'
branch: refs/heads/master
repository: '{{ env(''VERSION_GIT_REMOTE_REPOSITORY'') }}'
version:
git-local: 'git describe'
git-remote: 'git ls-remote {$repository} | grep tags/ | grep -v {} | cut -d / -f 3 | sort --version-sort | tail -1'
matcher: '/[V|v]*[ersion]*\s*\.*(\d+)\.(\d+)\.(\d+)\.*(\w*)/'
format:
major: '{$major}'
minor: '{$minor}'
patch: '{$patch}'
build: '{$build}'
version: '{$major}.{$minor}.{$patch} (build {$build})'
full: 'version {{''format.version''}}'
compact: 'v{$major}.{$minor}.{$patch}+{$build}'