Skip to content

Commit 8521989

Browse files
committed
Change version handliung, update changelog
1 parent 4a6868c commit 8521989

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [Unrelease]
8+
9+
### Added
10+
-
11+
12+
### Changed
13+
- Switch version handling to `git describe`
14+
- Depend on Jekyll min 4.2
15+
16+
### Fixed
17+
- assign syntax in README
18+
719
## [3.2.0] - 2022-02-28
820
### Added
921
- Support for Ruby 3

jekyll-rdf.gemspec

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# coding: utf-8
22
VERSION = '3.2.0'
3-
RELEASE_VERSION = case
4-
when ENV['TRAVIS'] && ENV['TRAVIS_BRANCH'].match(/^master$/i) then "#{VERSION}"
5-
when ENV['TRAVIS'] && ENV['TRAVIS_BRANCH'].match(/^develop$/i) then "#{VERSION}-#{ENV['TRAVIS_BRANCH']}.#{ENV['TRAVIS_BUILD_NUMBER']}"
6-
else "#{VERSION}-local"
7-
end
3+
RELEASE_VERSION = `git describe --tags --dirty --always`
84

95
Gem::Specification.new do |s|
106
s.name = 'jekyll-rdf'

0 commit comments

Comments
 (0)