diff --git a/Rakefile b/Rakefile index 2cea7ad..673ba52 100644 --- a/Rakefile +++ b/Rakefile @@ -1,10 +1,12 @@ README = "readme.txt" -SRC = ["prg-bib.php"] +SRC = ["prg-bib.php", "resize-iframe.js", README] GIT_TAG = `git describe --tag --exact-match`.chomp README_TAG = /^Stable tag: *(.*) *$/.match(open(README).read)[1] ZIP = "prg-bib-#{README_TAG}.zip" raise "tag mismatch: #{GIT_TAG}(git), #{README_TAG}(#{README})" \ unless GIT_TAG == README_TAG +changes=`git status --porcelain --untracked-files=no`.chomp +raise "there are changes: #{changes}" unless changes.empty? file ZIP => SRC do dirname = File.basename(Dir.pwd) diff --git a/readme.txt b/readme.txt index 928162c..de889d6 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: masuhara Tags: bibtex, bibliography, citation Requires at least: 5.2 Tested up to: 6.6.1 -Stable tag: v0.1.2-alpha +Stable tag: v0.1.3-alpha Requires PHP: 7.2 License: GPL v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -22,6 +22,9 @@ Usage == Changelog == +- v0.1.3-alpha + FIX: .js and readme files are included. + - v0.1.2-alpha Another test release with a feature to build a release archive.