Packaging Release Versions - HeyPublisher/heypublisher-submission-manager GitHub Wiki
After committing the changes into git
, you need to check into svn
so WordPress knows about them.
- See all of the changes to be committed:
# cd to root path (the one above `trunk`)
svn status
- Push the new version first, by tagging it:
TAG=2.1.0
svn cp trunk tags/$TAG
# Remove files you don't intend to commit - like `error.log` - if you want
svn --username=loudlever ci -m "tagging version $TAG" tags/$TAG
- Then up
trunk
to the stable tag once you've verified it's in WordPress
svn --username=loudlever ci -m "upping stable version to $TAG" trunk
Other Info:
The directory where development occurs may not be the same directory where the Wordpress working copy has been checked out. To resolve this:
tar -zcvf heypublisher-submission-manager-1.2.0.tar.gz \
--exclude='.svn' heypublisher-submission-manager
Then unzip the tarball into the Wordpress SVN directory:
cd ~/heypublisher-submission-manager/trunk
gunzip < ../../../pif_wp/wordpress/wp-content/plugins/heypublisher-submission-manager-1.2.0.tar.gz | \
tar --strip-components=1 -xvf -
Other Repos:
tar -zcvf smart-navbar-0.0.2.tar.gz --exclude-from=./smart-navbar/.tar_exclude smart-navbar