Download latest GitHub release

You don’t need any scripting to generate a download link for the latest release. Simply use this format: https://github.com/:owner/:repo/zipball/:branch Examples: https://github.com/webix-hub/tracker/zipball/master https://github.com/iDoRecall/selection-menu/zipball/gh-pages If for some reason you want to obtain a link to the latest release download, including its version number, you can obtain that from the get latest release API: GET /repos/:owner/:repo/releases/latest Example: $.get(‘https://api.github.com/repos/idorecall/selection-menu/releases/latest’, … Read more

What is difference between release notes and changelog?

To directly answer your question, you can include both in your software release. Release notes are a set of documents delivered to customers with the intent to provide a verbose description of the release of a new version of a product or service. These artifacts are generally created by a marketing team or product owner … Read more

How to put assert into release builds in C/C++

Undefine the NDEBUG macro – you can do this locally around the asserts you want to remain in the build: #undef NDEBUG #include <assert.h> // reinclude the header to update the definition of assert() or do whatever you need to do so your build process does not define the NDEBUG macro in the first place.

Team Build: Publish locally using MSDeploy

Unfortunately sharing of the Publish Profile is not supported or implemented in MSBuild. The logic to publish from the profile is contained in VS itself. Fortunately the profile doesn’t contain much information so there are ways to achieve what you are looking for. Our targets do not specifically support the exact same steps as followed … Read more

How to config cmake for strip file

Cleanest possible way is to modify CFLAGS or CXXFLAGS (depending on C or C++ code) set(CMAKE_C_FLAGS_RELEASE “${CMAKE_C_FLAGS_RELEASE} -s”) set(CMAKE_CXX_FLAGS_RELEASE “${CMAKE_CXX_FLAGS_RELEASE} -s”) But there is one more hack if you do not want to change your build system (figuring out exact place where to put above lines might be tricky). You may just use strip as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)