Skip to content

Commit

Permalink
FIX: include .js and check changes
Browse files Browse the repository at this point in the history
  • Loading branch information
masuhar committed Sep 25, 2024
1 parent 376d477 commit 539e6ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand Down

0 comments on commit 539e6ce

Please sign in to comment.