Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
Update readme.txt to latest tag (#39)
Browse files Browse the repository at this point in the history
* update readme

* initial pass at readme only update


update


silence

* update readme.txt if current tag already exists
  • Loading branch information
afragen committed Dec 24, 2019
1 parent 8113015 commit 0c79783
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy.sh
Expand Up @@ -155,6 +155,7 @@ echo
echo "Creating local copy of SVN repo trunk..."
svn checkout $SVNURL $SVNPATH --depth immediates
svn update --quiet $SVNPATH/trunk --set-depth infinity
svn update --quiet $SVNPATH/tags/$PLUGINVERSION --set-depth infinity

echo "Ignoring GitHub specific files"
# Use local .svnignore if present
Expand Down Expand Up @@ -234,6 +235,12 @@ echo

echo "Creating new SVN tag and committing it."
cd $SVNPATH
# If current tag not empty then update readme.txt
if [ -n "$(ls -A tags/$PLUGINVERSION 2>/dev/null)" ]; then
echo "Updating readme.txt to tag $PLUGINVERSION"
svn delete --force tags/$PLUGINVERSION/readme.txt
svn copy trunk/readme.txt tags/$PLUGINVERSION
fi
svn copy --quiet trunk/ tags/$PLUGINVERSION/
# Remove assets and trunk directories from tag directory
svn delete --force --quiet $SVNPATH/tags/$PLUGINVERSION/assets
Expand Down

0 comments on commit 0c79783

Please sign in to comment.