Skip to content

Commit

Permalink
#51 path fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 23, 2023
1 parent 815d7bd commit 0bf8aac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/l3build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
package-file: DEPENDS.txt
- run: l3build ctan --show-log-on-error --halt-on-error
- run: ./tests.pl
- run: sed -i "s/0\.0\.0/$(date +%Y-%m-%d-%H-%M)/g" build/distrib/tds/tex/latex/bibcop.pl
- run: sed -i "s/0\.0\.0/$(date +%H.%M.%S)/g" build/distrib/tds/scripts/bibcop/bibcop.pl
- run: sed -i "s/0000-00-00/$(date +%Y-%m-%d)/g" build/distrib/tds/scripts/bibcop/bibcop.pl
- uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
Expand Down
4 changes: 2 additions & 2 deletions bibcop.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

# 0.0.0
# 0000-00-00 0.0.0
package bibcop;

use warnings;
Expand Down Expand Up @@ -847,7 +847,7 @@ sub fail {
" --latex Report errors in LaTeX format using \\PackageWarningNoLine command\n\n" .
"If any issues, report to GitHub: https://github.com/yegor256/bibcop");
} elsif (exists $args{'--version'} or exists $args{'-v'}) {
info('0.0.0');
info('0.0.0 0000-00-00');
} else {
my ($file) = grep { not($_ =~ /^-.*$/) } @ARGV;
if (not $file) {
Expand Down

0 comments on commit 0bf8aac

Please sign in to comment.