openedx / openedx-wordpress-ecommerce

You can sell your Open edX courses with WooCommerce using this free and open-source WordPress plugin.
https://docs.openedx.org/projects/wordpress-ecommerce-plugin/en/latest/index.html
GNU General Public License v2.0
13 stars 8 forks source link

["FEAT"] Deploy changes to SVN repo on release #97

Open felipemontoya opened 1 month ago

felipemontoya commented 1 month ago

Describe the solution you'd like We need to be able to deploy the changes we are currently publishing as releases in https://github.com/openedx/openedx-wordpress-ecommerce/releases under the openedx-commerce.zip file into SVN.

Additional context We now own credentials to push SVN code to http://plugins.svn.wordpress.org/openedx-commerce

In comparing to https://plugins.svn.wordpress.org/woocommerce/ we need to fill in 3 of the dirs:

felipemontoya commented 1 month ago
svn checkout https://plugins.svn.wordpress.org/openedx-commerce/

cd openedx-commerce
make release

shell cmd to copy the contents of release at /tags/<version_number>
svn add tags/2.0.5/

svn remove trunk/* --force
shell cmd to copy release at /trunk/
svn add trunk/*

svn remove assets/*
shell cmd to copy docs/wp-index-assets/ at /assets
svn add assets/*

svn commit --username {{ svn username }} -m "Release <version number>"