diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2f6e761..e11c3d7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,7 +73,7 @@ jobs: - uses: ncipollo/release-action@v1 with: tag: ${{ steps.gettag.outputs.tag }} - artifacts: "*-pw3270-*.tar.*" + artifacts: "*.zip" allowUpdates: true draft: true makeLatest: true diff --git a/win/bundle.common b/win/bundle.common index 86ccd2e..0877f60 100644 --- a/win/bundle.common +++ b/win/bundle.common @@ -392,18 +392,19 @@ make_packages() { echo "----------------------------------" find ${srcdir} -iname *.nsi echo "----------------------------------" + find ${buildroot} -iname *.nsi + echo "----------------------------------" if [ -e "${srcdir}/win/${PACKAGE_NAME}.nsi" ]; then mkdir -p "${buildroot}${MINGW_PREFIX}/nsi" cp "${srcdir}/win/${PACKAGE_NAME}.nsi" "${buildroot}${MINGW_PREFIX}/${PACKAGE_NAME}.nsi" - if [ "$?" != "0" ]; then - echo "Cant copy nsis script" - fi - - argument "nsi" > /dev/null if [ "$?" == "0" ]; then - make_nsis + echo "Nsis script installed" + else + echo "Erro installing nsis" fi + else + echo "Cant find fi argument "zip" > /dev/null @@ -411,6 +412,10 @@ make_packages() { make_zip fi + argument "nsi" > /dev/null + if [ "$?" == "0" ]; then + make_nsis + fi } -- libgit2 0.21.2