Refers to the act of finalizing a software building process for distribution to end-users. Do not use this tag if your question is about indicating that a chunk of memory can be reclaimed. Instead, use [memory-management].
Questions tagged [release]
3345 questions
607
votes
32 answers
How to create a release signed apk file using Gradle?
I would like to have my Gradle build to create a release signed apk file using Gradle.
I'm not sure if the code is correct or if I'm missing a parameter when doing gradle build?
This is some of the code in my build.gradle/build.gradle.kts…

Jan-Terje Sørensen
- 14,468
- 8
- 37
- 37
539
votes
15 answers
C# if/then directives for debug vs release
In Solution properties, I have Configuration set to "release" for my one and only project.
At the beginning of the main routine, I have this code, and it is showing "Mode=Debug".
I also have these two lines at the very top:
#define DEBUG
#define…

NealWalters
- 17,197
- 42
- 141
- 251
387
votes
4 answers
What Git branching models work for you?
Our company is currently using a simple trunk/release/hotfixes branching model and would like advice on what branching models work best for your company or development process.
Workflows / branching models
Below are the three main descriptions of…

HiQ CJ
- 3,406
- 3
- 17
- 11
279
votes
12 answers
How to determine whether code is running in DEBUG / RELEASE build?
I am making an app that processes sensitive credit card data.
If my code is running in debug mode I want to log this data to the console and make some file dumps.
However on the final appstore version (ie when it is running in release mode) it is…

P i
- 29,020
- 36
- 159
- 267
269
votes
1 answer
What's the difference between tag and release?
Using GitHub's API, I can't get the releases list, but I can get the tags list.
What's the difference between them?

naor
- 3,460
- 3
- 18
- 13
258
votes
24 answers
Flutter: upgrade the version code for play store
I have published an application on the play store with flutter, now I want to upload a new version of the application. I am trying to change the version code with:
flutter build apk --build-name=1.0.2 --build-number=3
or changing the…

Pondikpa Tchabao
- 3,285
- 6
- 17
- 24
218
votes
21 answers
Is there a link to GitHub for downloading a file in the latest release of a repository?
Using GitHub's Release feature, it is possible to provide a link to download a specific version of the published software. However, every time a release is made, the gh-page also needs to be updated.
Is there a way to get a link to a specific file…

Christian Rondeau
- 4,143
- 5
- 28
- 46
151
votes
2 answers
why unaligned apk is needed?
Android gradle produces apk in two binaries: unaligned and aligned.
The document said...
Once you have signed the APK with your private key, run zipalign on the file. This tool ensures that all uncompressed data starts with a particular byte…

Youngjae
- 24,352
- 18
- 113
- 198
148
votes
11 answers
Debug vs. Release performance
I've encountered the following paragraph:
“Debug vs. Release setting in the IDE when you compile your code in Visual Studio makes almost no difference to performance… the generated code is almost the same. The C# compiler doesn’t really do any…

sagie
- 2,998
- 3
- 22
- 31
142
votes
46 answers
Error "Metadata file '...\Release\project.dll' could not be found in Visual Studio"
Recently I started to get this message randomly:
Metadata file '...\Release\project.dll' could not be found in Visual Studio
I have a solution with several projects in it. The current build mode is Debug and all projects' configurations are set to…

nightcoder
- 13,149
- 16
- 64
- 72
142
votes
5 answers
specify project file of a solution using msbuild
I want the commandline for building a particular project of a solution using msbuild like we do with devenv.com.In devenv.com we can specify a project of a solution using following commandline
devenv.com /Build Release|x86 test.sln /project…

mystack
- 4,910
- 10
- 44
- 75
133
votes
1 answer
Building C# Solution in Release mode using MSBuild.exe
I am able to build a solution using MSBuild.exe, but my issue is I can only manage to get it to build in DEBUG mode. I need to build my solution in Release mode using MSBUILD.
Here is what I've tried
Process msbuild =…

user3682000
- 1,371
- 2
- 8
- 4
130
votes
28 answers
Cannot install signed apk to device manually, got error "App not installed"
I'd like to publicate my app to GooglePlay but first i would like to do a last testing with the signed apk to ensure that all of the used API keys are working correctly with the release version (GMaps, Facebook, etc)
So i just made a signed version…

Adam Varhegyi
- 11,307
- 33
- 124
- 222
127
votes
12 answers
"Git fatal: ref HEAD is not a symbolic ref" while using maven release plugin
I get the following error output while running the Maven release plugin prepare step i.e. mvn release:prepare --batch-mode -DreleaseVersion=1.1.2 -DdevelopmentVersion=1.2.0-SNAPSHOT -Dtag=v1.1.2 -X from an Atlassian Bamboo plan. However doing the…

SkyWalker
- 13,729
- 18
- 91
- 187
126
votes
4 answers
"You don't have a SNAPSHOT project in the reactor projects list." when using Jenkins Maven release plugin
I'm using SVN, Maven 3.0.3 on the latest version of Jenkins and the Maven Release plugin. I'm trying to use the Maven release plugin (through Jenkins) do a dry run and so am executing the options …
Executing Maven: -B -f…

Dave
- 15,639
- 133
- 442
- 830