Skip to content

Commit

Permalink
Release 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawa Ometto committed Oct 15, 2022
1 parent 8098303 commit fa3f6b1
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 10 deletions.
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.3 / 2022-10-15

* Added the `--redis` command line argument.
* Added Docker support.
* Use Redis on Heroku by default to avoid flakiness caused by Heroku's dynos.
* Change default branch name to `main`
* Do not mail when the diff is empty.
# v0.2.1 / 2021-09-02

* Add ~= comparator and translate it to ~>. Resolves #66 (@bartkamphorst)
9 changes: 5 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'rubygems'
require 'date'
require 'tempfile'
require 'rspec/core/rake_task'

task :default => :rspec
Expand Down Expand Up @@ -94,15 +95,15 @@ end

desc 'Create a release build and push to rubygems'
task :release => :build do
unless `git branch` =~ /^\* master$/
puts "You must be on the master branch to release!"
unless `git branch` =~ /^\* main$/
puts "You must be on the main 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 main"
sh "git tag v#{version}"
sh "git push origin master"
sh "git push origin main"
sh "git push origin v#{version}"
sh "gem push pkg/#{name}-#{version}.gem"
end
Expand Down
10 changes: 7 additions & 3 deletions cutting_edge.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.4'

s.name = 'cutting_edge'
s.version = '0.2.1'
s.date = '2021-09-02'
s.version = '0.3'
s.date = '2022-10-15'
s.license = 'GPL-3.0-only'

s.summary = 'Self-hosted dependency monitoring, including shiny badges.'
Expand All @@ -33,15 +33,19 @@ Gem::Specification.new do |s|

# = MANIFEST =
s.files = %w[
Dockerfile
Gemfile
Gemfile.lock
HISTORY.md
LATEST_CHANGES.md
LICENSE
Procfile
README.md
Rakefile
bin/cutting_edge
config.rb
cutting_edge.gemspec
docker-compose.yml
docker-run.sh
heroku.config.rb
lib/cutting_edge.rb
lib/cutting_edge/app.rb
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
ports:
- '6379:6379'
cuttingedge:
image: dometto/cuttingedge:master
image: dometto/cuttingedge:main
environment:
REDIS_HOST: cache
command:
Expand Down
2 changes: 1 addition & 1 deletion heroku.config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module CuttingEdge
end
# Your additional configuration goes here.
# If you are going to host the repository containing this file publically (e.g. on GitHub), please read:
# https://github.com/repotag/cutting_edge/blob/master/README.md#Defining-repositories-in-configrb
# https://github.com/repotag/cutting_edge/blob/main/README.md#Defining-repositories-in-configrb
end

# Needed to write to Heroku logs.
Expand Down
2 changes: 1 addition & 1 deletion lib/cutting_edge.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module CuttingEdge
VERSION = '0.2.1'
VERSION = '0.3'
end

0 comments on commit fa3f6b1

Please sign in to comment.