Quantcast WoWInterface - View Single Post - Guide: Automagically package and publish addons
View Single Post
11-06-17, 02:21 PM   #14
alar
A Defias Bandit
 
alar's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 2
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

Code:
externals:
  libs/LibInit:
    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:

Code:
git clone https://github.com/alarofrunetotem/LibInit.git tempdir
cp tempdir/LibInit releasedir/libs/LibInit
Best regards
__________________
-----
(English is not my first language, assume my intent is always to be nice. If something looks rude blame my english, not me)
My addons:
OrderHallCommander
GarrisonCommander
ItemLevelDisplay
AlarArtRemover
  Reply With Quote