From f0180340a2a74bfddd280e6d0c8d47f6afdabb99 Mon Sep 17 00:00:00 2001 From: Martin Tomov Date: Mon, 20 Mar 2023 10:12:11 +0000 Subject: [PATCH] Fix: Change `systemd_conf_dir` to `good_job_systemd_conf_dir` As the `good_job_systemd_conf_dir` capistrano variable is the one having a default in `lib/capistrano/good_job.rb:10` --- CHANGELOG.md | 3 +++ lib/capistrano/good_job/version.rb | 2 +- lib/capistrano/tasks/good_job.rake | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7d9c92..b26811d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## [Unreleased] +## [0.1.1] - 2023-03-20 +* Fix: Change `systemd_conf_dir` to `good_job_systemd_conf_dir` + ## [0.1.0] - 2023-02-18 - Initial release diff --git a/lib/capistrano/good_job/version.rb b/lib/capistrano/good_job/version.rb index 604925f..badca59 100644 --- a/lib/capistrano/good_job/version.rb +++ b/lib/capistrano/good_job/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module CapistranoGoodJob - VERSION = "0.1.0" + VERSION = "0.1.1" end diff --git a/lib/capistrano/tasks/good_job.rake b/lib/capistrano/tasks/good_job.rake index ded4d63..edf3596 100644 --- a/lib/capistrano/tasks/good_job.rake +++ b/lib/capistrano/tasks/good_job.rake @@ -6,7 +6,7 @@ namespace :good_job do desc "Install good_job systemd service" task :install do on roles(fetch(:good_job_role)) do |role| - execute :mkdir, "-p", fetch(:systemd_conf_dir) + execute :mkdir, "-p", fetch(:good_job_systemd_conf_dir) service_file = File.expand_path("../../templates/good_job.service.erb", __FILE__) erb = File.read(service_file)