• Resolved drmikegreen

    (@drmikegreen)


    After struggling (first using a command line approach to SVN — following the instuctions in the Codex: http://wordpress.org/extend/plugins/about/svn/, then trying RabbitVCS SVN) to update a WordPress plugin I had created (http://wordpress.org/extend/plugins/embed-bible-passages/), I have succeeded (?) in creating a new version of the plugin in the WordPress plugin repository which has (at least) two problems:

    1. When the plugin is downloaded and opened it has “trunk” as a sub-directory, which contains the plugin all over again.
    2. When I attempt to upgrade the plugin in my site, which had the previous version of the plugin installed, WordPress tells me that the version already installed (0.211) is newer than the one in the repository (which is 0.71).

    I suspect I made an error (or more than one error) in my orginal attempt at making the update using the command line and may have even made it worse in my later attempts to correct it using what I found in forums and the RabbitVCS SVN.

    Any thoughts as to how to correct this?

    I have searched and searched through the Codex and Forums to try to figure out what I am doing wrong, all without success — perhaps even some of the fixes I have tried have dug the hole deeper.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    The problem is you have a trunk folder here: http://plugins.svn.wordpress.org/embed-bible-passages/tags/0.71/

    So in your tag, just delete that.

    Also yes, 0.211 is a higher number than 0.71 because computer math is weird

    It’s easier to understand if I told you this: 211 is a larger number than 71 🙂

    What I would do:

    1) Update trunk with everything it should be for a new version.

    2) Make the version number 1.0 (yes, I know, the only other options is to use 0.300, but frankly if you start over with 1.0, it’s cleaner)

    3) use svn to TAG that: svn cp trunk tags/1.0

    You run that command from the folder that looks like this: http://plugins.svn.wordpress.org/embed-bible-passages/

    It should ONLY have those three folders.

    Then you should be okay.

    Thread Starter drmikegreen

    (@drmikegreen)

    Thanks very, very much, Mika!

    I have followed your instructions and believe that they have indeed resolved both problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin has trunk as a sub-directory and is shown as older than earlier version’ is closed to new replies.