auto-versioning

project version in .exe-filename

纵饮孤独 提交于 2020-01-03 06:08:13
问题 I just tested the auto-versioning plugin and was wondering whether it is possible to put the project's version into the output exe's filename. So e.g. the output could look like this: myProject_0.11.8.exe Being able to have the compile-time-date in the filename would be nice aswell: myProject_2013_12_16.exe Is that possible? 回答1: You can add the following to the output filename variable: add $(TODAY) or $(NOW_) or $(NOW_L) , placing it between the end of the filename and the .exe part and you

project version in .exe-filename

淺唱寂寞╮ 提交于 2020-01-03 06:07:45
问题 I just tested the auto-versioning plugin and was wondering whether it is possible to put the project's version into the output exe's filename. So e.g. the output could look like this: myProject_0.11.8.exe Being able to have the compile-time-date in the filename would be nice aswell: myProject_2013_12_16.exe Is that possible? 回答1: You can add the following to the output filename variable: add $(TODAY) or $(NOW_) or $(NOW_L) , placing it between the end of the filename and the .exe part and you

project version in .exe-filename

微笑、不失礼 提交于 2020-01-03 06:07:01
问题 I just tested the auto-versioning plugin and was wondering whether it is possible to put the project's version into the output exe's filename. So e.g. the output could look like this: myProject_0.11.8.exe Being able to have the compile-time-date in the filename would be nice aswell: myProject_2013_12_16.exe Is that possible? 回答1: You can add the following to the output filename variable: add $(TODAY) or $(NOW_) or $(NOW_L) , placing it between the end of the filename and the .exe part and you

How to force the browser to reload cached CSS/JS files?

雨燕双飞 提交于 2019-12-24 19:15:59
问题 I have noticed that some browsers (in particular, Firefox and Opera) are very zealous in using cached copies of .css and .js files, even between browser sessions. This leads to a problem when you update one of these files but the user's browser keeps on using the cached copy. The question is: what is the most elegant way of forcing the user's browser to reload the file when it has changed? Ideally, the solution would not force the browser to reload the file on every visit to the page. I will

How to derive application build version string with Git's `describe` command?

♀尐吖头ヾ 提交于 2019-12-17 10:32:14
问题 I want to compose application build version that is automatically derived from the Git branch name I am on (when building) and the number of commits since the branch has diverged. I believe this will be unique for any commit in my Git repository? Branch names are unique, and commits are linked to each other along a branch? If and when I tag a commit, I can also have the version be prefixed with that tag. In a way git describe does what I want, but it does not include the branch name I am on,

How to derive application build version string with Git's `describe` command?

梦想与她 提交于 2019-12-17 10:32:12
问题 I want to compose application build version that is automatically derived from the Git branch name I am on (when building) and the number of commits since the branch has diverged. I believe this will be unique for any commit in my Git repository? Branch names are unique, and commits are linked to each other along a branch? If and when I tag a commit, I can also have the version be prefixed with that tag. In a way git describe does what I want, but it does not include the branch name I am on,

Include last commit index in project

倖福魔咒の 提交于 2019-12-12 02:44:19
问题 I'm working on a game project in Uninty with some friends, and since we're going to make each one his own branches i would like to include in the project some of the versioning info, e.g. to get track of the current build beeing tested, so i've tought to the current branch and commit index. When i say "include in the project" i mean to display those info somwhere in the ui during gameplay. I would like to do so to avoid using "custom version number" like ver.0.1.2 etc, because those

Modifying AndroidManifest.xml with build tag causes infinite rebuilding in Eclipse

二次信任 提交于 2019-12-11 04:06:00
问题 I've added a tagging / date-stamping system to my Android build system similar to the thread found here on Stack Overflow: embed version details in android APK This worked out great for me, The post was awesome and I simply modified the Perl to put in a datestamp like thus: perl -npi -e 's/(Build Date:)(.+)(DEV-MOB)/"Build Date: " . localtime() . " DEV-MOB"/e;' $MANIFEST The issue I'm dealing with now is that Eclipse wants to continue building over and over. As soon as it sees that the

How to change assembly info in asp.net core?

拥有回忆 提交于 2019-12-07 03:09:58
问题 I want to versioning my asp.net core app. I followed this link: http://www.matthiaseinig.de/2013/05/20/auto-generate-fileversion-for-all-projects-in-a-solution-with-t4/ , but I want to remove project assembly info, but I didn't find it. How to remove duplicated assembly info? I want to override asp core assemblies with another file. BETTER SOLUTION After a while I realize that the best solution is to use a T4 file, the version is incremented automatically after each build. look here: http:/

How to change assembly info in asp.net core?

被刻印的时光 ゝ 提交于 2019-12-05 07:24:24
I want to versioning my asp.net core app. I followed this link: http://www.matthiaseinig.de/2013/05/20/auto-generate-fileversion-for-all-projects-in-a-solution-with-t4/ , but I want to remove project assembly info, but I didn't find it. How to remove duplicated assembly info? I want to override asp core assemblies with another file. BETTER SOLUTION After a while I realize that the best solution is to use a T4 file, the version is incremented automatically after each build. look here: http://www.matthiaseinig.de/2013/05/20/auto-generate-fileversion-for-all-projects-in-a-solution-with-t4/ Set