Quantcast WoWInterface - View Single Post - Guide: Automagically package and publish addons
View Single Post
11-07-17, 12:43 AM   #15
A Pyroguard Emberseer
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,696
Originally Posted by alar View Post
I found an issue in the release.sh script.
From the old times of svn, we could directly refer to a subdirectory inside an external library. This survived ad is managed byt the curse packager but not from release.sh.
Here is the example

    url: https://github.com/alarofrunetotem/LibInit.git/LibInit
    tag: latest
the actual repository name ends at .git but the script attempts to use the full string and fails with:

fatal: repository 'https://github.com/alarofrunetotem/LibInit.git/LibInit/' not found

Actually, the right behavious would be:

git clone https://github.com/alarofrunetotem/LibInit.git tempdir
cp tempdir/LibInit releasedir/libs/LibInit
Best regards
The ability to target a specific subdirectory when "cloning" from SVN is actually a feature of SVN that Git doesn't have. The "fault" is with Git, not the script

Last edited by p3lim : 02-22-18 at 03:38 PM.
  Reply With Quote