Skip to content

Commit

Permalink
Release 5.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Apr 15, 2024
1 parent ce916a2 commit f3078f3
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ on:
push:
branches:
- master
tags:
- '*'
paths-ignore:
- '**.md'
- '**.txt'
- 'contrib/**'
release:
types: [published]
jobs:
Expand Down
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 5.3.3 / 2024-04-15

* This release is to generate semantic versioning labels for Gollum's docker images. You can now e.g. `docker pull gollumwiki/gollum:5.3`.

# 5.3.2 / 2023-05-01

* Guard against [CVE-2020-11022](https://github.com/advisories/GHSA-gxr4-xjj5-5px2) (@bartkamphorst)
Expand Down
4 changes: 2 additions & 2 deletions LATEST_CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 5.3.2
# 5.3.3. / 2024-04-15

* Guard against [CVE-2020-11022](https://github.com/advisories/GHSA-gxr4-xjj5-5px2) (@bartkamphorst)
* This release is to generate semantic versioning labels for Gollum's docker images. You can now e.g. `docker pull gollumwiki/gollum:5.3`.
7 changes: 3 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,14 @@ end

desc 'Create a release build and push to rubygems'
task :release => :build do
unless `git branch` =~ /^\* master$/
unless `git branch` =~ /^\* 5.3.3semver$/
puts "You must be on the master branch to release!"
exit!
end
Rake::Task[:changelog].execute
sh "git commit --allow-empty -a -m 'Release #{version}'"
sh "git pull --rebase origin master"
#sh "git pull --rebase origin master"
sh "git tag v#{version}"
sh "git push origin master"
sh "git push origin v#{version}"
sh "gem push pkg/#{name}-#{version}.gem"
end
Expand Down Expand Up @@ -185,7 +184,7 @@ end
desc 'Build changlog'
task :changelog do
[latest_changes_file, history_file].each do |f|
unless File.exists?(f)
unless File.exist?(f)
puts "#{f} does not exist but is required to build a new release."
exit!
end
Expand Down
4 changes: 2 additions & 2 deletions gollum.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.6'

s.name = 'gollum'
s.version = '5.3.2'
s.version = '5.3.3'
s.license = 'MIT'

s.summary = 'A simple, Git-powered wiki.'
Expand Down Expand Up @@ -42,7 +42,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rack-test', '~> 0.6.3'
s.add_development_dependency 'shoulda', '~> 3.6.0'
s.add_development_dependency 'minitest-reporters', '~> 1.3.6'
s.add_development_dependency 'mocha', '~> 1.8.0'
s.add_development_dependency 'mocha', '~> 2.0'
s.add_development_dependency 'test-unit', '~> 3.3.0'

# = MANIFEST =
Expand Down
2 changes: 1 addition & 1 deletion lib/gollum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
require ::File.expand_path('../gollum/uri_encode_component', __FILE__)

module Gollum
VERSION = '5.3.2'
VERSION = '5.3.3'

::I18n.available_locales = [:en]
::I18n.load_path = Dir[::File.expand_path("lib/gollum/locales") + "/*.yml"]
Expand Down
2 changes: 1 addition & 1 deletion test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require 'minitest/autorun'
require 'minitest/reporters'
require 'minitest/spec'
require 'mocha/setup'
require 'mocha/minitest'
require 'fileutils'
require 'tmpdir'

Expand Down

0 comments on commit f3078f3

Please sign in to comment.