diff --git a/.github/workflows/push_rockspec.yml b/.github/workflows/push_rockspec.yml index 5aa9c16b..74d1a23e 100644 --- a/.github/workflows/push_rockspec.yml +++ b/.github/workflows/push_rockspec.yml @@ -41,7 +41,6 @@ jobs: -e "s/branch = '.\+'/tag = '${GIT_TAG}'/g" \ -e "s/version = '.\+'/version = '${GIT_TAG}-1'/g" \ ${{ env.ROCK_NAME }}-scm-1.rockspec > ${{ env.ROCK_NAME }}-${GIT_TAG}-1.rockspec - sed -i "s/local VERSION = 'scm-1'/local VERSION = '"${GIT_TAG}"-1'/g" metrics/init.lua - uses: tarantool/rocks.tarantool.org/github-action@master with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 1755dc1d..77753f69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.16.0] - 2023-01-27 ### Added - Handle to clear psutils metrics diff --git a/metrics/init.lua b/metrics/init.lua index 56eae4ec..93c68995 100644 --- a/metrics/init.lua +++ b/metrics/init.lua @@ -10,7 +10,7 @@ local Gauge = require('metrics.collectors.gauge') local Histogram = require('metrics.collectors.histogram') local Summary = require('metrics.collectors.summary') -local VERSION = 'scm-1' +local VERSION = '0.16.0' local registry = rawget(_G, '__metrics_registry') if not registry then @@ -156,4 +156,5 @@ return { http_middleware = require('metrics.http_middleware'), collect = collect, VERSION = VERSION, + _VERSION = VERSION, }