@@ -58,7 +58,7 @@ _BUILD/$(SOURCE_ARCHIVE):
5858 echo " Creating source archive from latest commit $( COMMIT) - $( SOURCE_ARCHIVE) "
5959 echo " ############################"
6060 mkdir -p $(build_dir )
61- git-archive-all --prefix=$(NAME ) -$(VERSION ) - $( REBUILD ) / _BUILD/$(SOURCE_ARCHIVE )
61+ git-archive-all --prefix=$(NAME ) -$(VERSION ) / _BUILD/$(SOURCE_ARCHIVE )
6262
6363_BUILD/$(SOURCE_ARCHIVE_DEB ) :
6464 echo " ############################"
@@ -123,17 +123,19 @@ deb: _BUILD/$(SOURCE_ARCHIVE_DEB)
123123 # BUILD LOCALLY BINARY PACKAGE
124124 # debuild -us -uc
125125
126- conda : _BUILD/ $( SOURCE_ARCHIVE )
126+ conda :
127127 echo " ############################"
128128 echo " Creating conda archive from source file $( SOURCE_ARCHIVE) "
129129 echo " ############################"
130130 conda config --add channels conda-forge
131131 conda config --set channel_priority strict
132132 mkdir -p _BUILD/conda
133- cp _BUILD/$(SOURCE_ARCHIVE ) _BUILD/conda/
133+ cd ..
134+ git archive --format=tar.gz --prefix=clang-uml-$(VERSION ) / v$(VERSION ) > packaging/_BUILD/conda/clang-uml-$(VERSION ) .tar.gz
135+ cd packaging
134136 cp conda/meta.yaml.in conda/meta.yaml
135137 $(call subst_conda_meta_yaml,PKG_VERSION,${VERSION},conda)
136- $(call subst_conda_meta_yaml,PKG_SOURCE,..\/_BUILD\/clang-uml-$(VERSION ) .tar.$(TAR_EXT ) ,conda)
138+ $(call subst_conda_meta_yaml,PKG_SOURCE,..\/_BUILD\/conda\/ clang-uml-$(VERSION ) .tar.$(TAR_EXT ) ,conda)
137139 $(call subst_conda_meta_yaml,GIT_COMMIT,${COMMIT},conda)
138140 $(call subst_conda_meta_yaml,GIT_BRANCH,${BRANCH},conda)
139- conda build --user bkryza --token $(CONDA_TOKEN ) conda
141+ conda build --user bkryza --token $(CONDA_TOKEN ) ./ conda
0 commit comments