Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
misc adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
dsifford committed Jan 29, 2019
1 parent 589459f commit 7207129
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ VERSION="${npm_package_version?This script must be called using npm}"
ROOTDIR=$PWD
SVNROOT=$(cd "$ROOTDIR" && cd ../SVN && pwd || exit)

# shellcheck source=../.env
. "$ROOTDIR"/.env

# Make sure svn repo is up to date
cd "$SVNROOT" || exit
svn update

svn update \
--username "${SVN_USER:?SVN_USER not defined in env}" \
--password "${SVN_PASS:?SVN_PASS not defined in env}"

# Delete entire trunk directory
rm -rf trunk/*
Expand All @@ -25,4 +31,7 @@ svn stat | grep -Po '^!.+' | awk '{print $2}' | xargs svn rm
svn stat | grep -Po '^\?.+' | awk '{print $2}' | xargs svn add

# Commit the changes
svn commit -m "Release $VERSION"
svn commit \
--username "$SVN_USER" \
--password "$SVN_PASS" \
-m "Release $VERSION"
2 changes: 1 addition & 1 deletion src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://donorbox.org/academic-bloggers-toolkit
Tags: academia, academic, bibliographies, bibliography, bibtex, citation, citations, cite, citing, CSL, curriculum vitae, cv, doi, endnote, footnote, footnotes, journal, mendeley, papers, pmid, pmcid, publications, publish, pubmed, reference, reference list, reference manager, references, referencing, ris, scholar, scholarly, zotero
Requires at least: 5.0
Tested up to: 5.0
Requires PHP: 7.2
Requires PHP: 7.0
Stable tag: {{VERSION}}

A plugin extending the functionality of Wordpress for academic blogging.
Expand Down

0 comments on commit 7207129

Please sign in to comment.