This repository has been archived by the owner on Mar 29, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix breaking changes w react virtualized select. Closes #160 * Add stricter equality matching for citation duplicates. Closes #161 * Changes... - Fix uncaught error in insertStaticBibliography. (Closes #164) - Add sourcemap support in rollbar for better error reporting. * Fix syntax error for php versions < 5.5. (Closes #163) * Changes... - Add microsoft-contrib-tslint rules and lint files (mostly). - Fix html closing bracket issue in parsed URLs. - Update tests. * Update travis.yml * Cache node_modules in travis * Move lint into travis test pipeline (to trigger failures) * Changes... - Fix the rest of the lint errors * Changes... - Version bump + build output - Add deploy script * Changes... - Update citeproc - Add `Medicinskiy Akademicheskiy Zhurnal` style * Update docker-compose.yml * Update deps * Changes... - Add deploy npm script - Update citeproc
- Loading branch information
Showing
56 changed files
with
545 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
[ ! "$1" ] && echo 'the first argument of this script must be the version number' && exit 1 | ||
[[ ! "$1" =~ ^[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}$ ]] && echo 'the first argument must be a valid semver number' && exit 1 | ||
|
||
VERSION="$1" | ||
SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
ROOTDIR=$(cd "$SCRIPTDIR" && cd ../ && pwd || exit) | ||
SVNROOT=$(cd "$ROOTDIR" && cd ../SVN && pwd || exit) | ||
|
||
# Make sure svn repo is up to date | ||
cd "$SVNROOT" || exit | ||
svn up | ||
|
||
# Delete entire trunk directory | ||
rm -rf trunk/* | ||
|
||
# Create tag directory | ||
mkdir -p "tags/$VERSION" | ||
|
||
# Copy dist over to tag and trunk directory | ||
cp -r "$ROOTDIR"/dist/* "$SVNROOT"/trunk/ | ||
cp -r "$ROOTDIR"/dist/* "$SVNROOT"/tags/"$VERSION"/ | ||
|
||
# Remove deleted files | ||
svn stat | grep -Po '^!.+' | awk '{print $2}' | xargs svn rm | ||
|
||
# Add new files | ||
svn stat | grep -Po '^\?.+' | awk '{print $2}' | xargs svn add | ||
|
||
# Commit the changes | ||
svn ci -m "Release $VERSION" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.