Rakefile in chupa-text-1.3.5 vs Rakefile in chupa-text-1.3.6
- old
+ new
@@ -1,8 +1,8 @@
-# -*- mode: ruby; coding: utf-8 -*-
+# -*- ruby -*-
#
-# Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com>
+# Copyright (C) 2013-2025 Sutou Kouhei <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
@@ -43,6 +43,16 @@
end
desc "Run tests"
task :test do
ruby("test/run-test.rb")
+end
+
+release_task = Rake.application["release"]
+# We use Trusted Publishing.
+release_task.prerequisites.delete("build")
+release_task.prerequisites.delete("release:rubygem_push")
+release_task_comment = release_task.comment
+if release_task_comment
+ release_task.clear_comments
+ release_task.comment = release_task_comment.gsub(/ and build.*$/, "")
end