Skip to content

Commit b04d95a

Browse files
authored
Merge pull request #265 from OpenVoxProject/bugfixes
Bug fixes
2 parents a7b36ea + e3f021f commit b04d95a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

Gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,5 @@ end
7474

7575
group :release, optional: true do
7676
gem 'faraday-retry', '~> 2.1', require: false
77-
# gem 'github_changelog_generator', '~> 1.16.4', require: false
78-
gem 'github_changelog_generator', github: 'smortex/github-changelog-generator', branch: 'avoid-processing-a-single-commit-multiple-time', require: false
77+
gem 'github_changelog_generator', '~> 1.18', require: false
7978
end

rakelib/changelog.rake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ else
1616
config.user = 'openvoxproject'
1717
config.project = 'openvoxdb'
1818
config.exclude_labels = %w[dependencies duplicate question invalid wontfix wont-fix modulesync skip-changelog]
19-
# this is probably the worst way to do this
20-
# ideally there would be a VERSION file and clojure and Rake would read it
21-
config.future_release= '8.13.0'
19+
config.future_release = File.readlines('project.clj')
20+
.grep(/^\(defproject /).first[/"([^"]+)"/, 1]
21+
.sub(/-SNAPSHOT\z/, '')
2222
# we limit the changelog to all new openvox releases, to skip perforce onces
2323
# otherwise the changelog generate takes a lot amount of time
2424
config.since_tag = '8.9.1'

0 commit comments

Comments
 (0)